{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 本文内容"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "本文为MDCSpell: A Multi-task Detector-Corrector Framework for Chinese Spelling Correction论文的Pytorch实现。\n",
    "\n",
    "[论文地址](https://aclanthology.org/2022.findings-acl.98/): https://aclanthology.org/2022.findings-acl.98/\n",
    "\n",
    "论文年份：2022\n",
    "\n",
    "[论文笔记](https://blog.csdn.net/zhaohongfei_358/article/details/126973451)：https://blog.csdn.net/zhaohongfei_358/article/details/126973451\n",
    "\n",
    "论文大致内容：作者基于Transformer和BERT设计了一个多任务的网络来进行CSC（Chinese Spell Checking）任务（中文拼写纠错）。多任务分别是找出哪个字是错的和对错字进行纠正。\n",
    "\n",
    "由于作者并没有公开代码，所以我就尝试自己实现一个，最终我的实验结果如下表：\n",
    "\n",
    "| Dataset | Model | D_Precision | D_Recall | D_F1 | C_Prec | C_Rec | C_F1 |\n",
    "|--|--|--|--|--|--|--|--|\n",
    "| SIGHAN 13 | MDCSpell | 89.1 | 78.3| 83.4 | 87.5| 76.8 | 81.8 |\n",
    "| SIGHAN 13 | MDCSpell(复现) | 80.2 | 79.9| 80.0 | 77.2| 76.9 | 77.1 |\n",
    "| SIGHAN 14 | MDCSpell | 70.2 | 68.8| 69.5 | 69.0| 67.7 | 68.3 |\n",
    "| SIGHAN 14 | MDCSpell(复现) | 82.8 | 66.6| 73.8 | 79.9| 64.3 | 71.2 |\n",
    "| SIGHAN 15 | MDCSpell | 80.8 | 80.6| 80.7 | 78.4| 78.2 | 78.3 |\n",
    "| SIGHAN 15 | MDCSpell(复现) | 86.7 | 76.1| 81.1 | 72.5| 82.7 | 77.3 |\n",
    "\n",
    "这里是我训练了2个epoch的结果，与作者的结论相差不大。如果我增加训练次数的话，也许可以和作者的结果达到一致。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 环境配置"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "try:\n",
    "    import transformers\n",
    "except:\n",
    "    !pip install transformers"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "import os\n",
    "import copy\n",
    "import pickle\n",
    "\n",
    "import torch\n",
    "import transformers\n",
    "\n",
    "from torch import nn\n",
    "from torch.utils.data import Dataset, DataLoader\n",
    "from transformers import AutoModel, AutoTokenizer\n",
    "from tqdm import tqdm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'1.12.1+cu116'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "torch.__version__"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'4.21.2'"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "transformers.__version__"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 全局变量"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Device: cuda\n"
     ]
    }
   ],
   "source": [
    "# 句子的长度，作者并没有说明。我这里就按经验取一个\n",
    "max_length = 128\n",
    "# 作者使用的batch_size\n",
    "batch_size = 32\n",
    "# epoch数，作者并没有具体说明，按经验取一个\n",
    "epochs = 10\n",
    "\n",
    "# 每${log_after_step}步，打印一次日志\n",
    "log_after_step = 20\n",
    "\n",
    "# 模型存放的位置。\n",
    "model_path = './models/'\n",
    "os.makedirs(model_path, exist_ok=True)\n",
    "\n",
    "device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')\n",
    "print(\"Device:\", device)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 模型构建"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "<img src=\"asserts/images/model.png\">"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "---\n",
    "\n",
    "**Correction Network** 的数据流向如下：\n",
    "\n",
    "1.将token序列 `[CLS] 遇 到 逆 竟 [SEP]` 送给Word Embedding模块进行embeddings，得到向量$\\{e_{CLS}^w, e_1^w, e_2^w, e_3^w, e_4^w,e_{SEP}^w\\}$。\n",
    "\n",
    "> 个人认为此时的embedding仅仅是Word Embeding，并不包含Position Embedding和Segment Embedding。\n",
    "\n",
    "2.之后将$\\{e_{CLS}^w, e_1^w, e_2^w, e_3^w, e_4^w,e_{SEP}^w\\}$向量送入BERT，增加Position Embedding和Segment Embedding，得到 $\\{e_C, e_1, e_2, e_3, e_4, e_S\\}$。\n",
    "\n",
    "3.在BERT内部，会经历多层的TransformerEncoder，最终的得到输出向量 $H^c=\\{h_C^c, h_1^c, h_2^c, h_3^c, h_4^c, h_S^c\\}$.\n",
    "\n",
    "4.将BERT的输出 $H^c$ 和 隔壁Detection Network输出的 $H^d$ 进行融合，得到 $H = H^d+H^c$\n",
    "\n",
    "> 融合时并不对`[CLS]`和`[SEP]`进行融合\n",
    "\n",
    "5.将$H$送给全连接层(Dense Layer)做最后的预测。\n",
    "\n",
    "<br>\n",
    "\n",
    "**Correction Network模型细节**：\n",
    "\n",
    "1. **BERT**：作者使用的是具有12层Transformer Block的BERT-base版。\n",
    "2. **Dense Layer**：Dense Layer的输入通道为词向量维度，输出通道为词典大小。例如：词向量维度为768，词典大小为20000，则Dense Layer则为`nn.Linear(768, 20000)`\n",
    "3. **Dense Layer的初始化**：Dense Layer的权重使用的是Word Embedding的参数。因为word Embedding是将词index转成词向量，所以其参数刚好是Dense Layer的转置，即Word Embedding是`nn.Linear(20000, 768)`，所以作者就是用Word Embedding的转置来初始化Dense Layer的参数。因为这样可以加速训练，且使模型变的稳定。\n",
    "\n",
    "---\n",
    "\n",
    "**Detection Network**的数据流向如下：\n",
    "\n",
    "1.输入为使用BERT得到的word Embedding $\\{e_1^w, e_2^w, e_3^w, e_4^w\\}$。虽然图里并不包含`[CLS]`和`[SEP]`的词向量，但个人认为不需要对其特殊处理，因为最后的预测也用不到这两个token.\n",
    "\n",
    "2.将$\\{e_1^w, e_2^w, e_3^w, e_4^w\\}$增加Position Embedding信息，得到$\\{e_1', e_2', e_3', e_4'\\}$\n",
    "\n",
    "> 在论文中说Detection Network使用的是向量$\\{e_1, e_2, e_3, e_4\\}$，其是word embedding+position embedding+segment embedding。这与图上是矛盾的，这里以图为准了。\n",
    "\n",
    "3.将$\\{e_1', e_2', e_3', e_4'\\}$向量送入Transformer Block，得到输出向量$H^d=\\{h_1^d, h_2^d, h_3^d, h_4^d\\}$\n",
    "\n",
    "4.一方面，将输出向量$H^d$送给隔壁的Correction Network进行融合；另一方面，将$H^d$送给后续的全连接层(Dense Layer)来判断哪个token是错误的.\n",
    "\n",
    "**Detection Network**的细节：\n",
    "\n",
    "1. **Transformer Block**：Transformer Block是2层的TransformerEncoder。\n",
    "2. **Transformer Block参数初始化**：Transformer Block参数初始化使用的是BERT的权重。\n",
    "3. **Dense Layer**：Dense Layer的输入通道为词向量大小，输出通道为1。使用Sigmoid来判别该token为错字的概率。\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "class CorrectionNetwork(nn.Module):\n",
    "\n",
    "    def __init__(self):\n",
    "        super(CorrectionNetwork, self).__init__()\n",
    "        # BERT分词器，作者并没提到自己使用的是哪个中文版的bert，我这里就使用一个比较常用的\n",
    "        self.tokenizer = AutoTokenizer.from_pretrained(\"hfl/chinese-roberta-wwm-ext\")\n",
    "        # BERT\n",
    "        self.bert = AutoModel.from_pretrained(\"hfl/chinese-roberta-wwm-ext\")\n",
    "        # BERT的word embedding，本质就是个nn.Embedding\n",
    "        self.word_embedding_table = self.bert.get_input_embeddings()\n",
    "        # 预测层。hidden_size是词向量的大小，len(self.tokenizer)是词典大小\n",
    "        self.dense_layer = nn.Linear(self.bert.config.hidden_size, len(self.tokenizer))\n",
    "\n",
    "    def forward(self, inputs, word_embeddings, detect_hidden_states):\n",
    "        \"\"\"\n",
    "        Correction Network的前向传递\n",
    "        :param inputs: inputs为tokenizer对中文文本的分词结果，\n",
    "                       里面包含了token对一个的index，attention_mask等\n",
    "        :param word_embeddings: 使用BERT的word_embedding对token进行embedding后的结果\n",
    "        :param detect_hidden_states: Detection Network输出hidden state\n",
    "        :return: Correction Network对个token的预测结果。\n",
    "        \"\"\"\n",
    "        # 1. 使用bert进行前向传递\n",
    "        bert_outputs = self.bert(token_type_ids=inputs['token_type_ids'],\n",
    "                                 attention_mask=inputs['attention_mask'],\n",
    "                                 inputs_embeds=word_embeddings)\n",
    "        # 2. 将bert的hidden_state和Detection Network的hidden state进行融合。\n",
    "        hidden_states = bert_outputs['last_hidden_state'] + detect_hidden_states\n",
    "        # 3. 最终使用全连接层进行token预测\n",
    "        return self.dense_layer(hidden_states)\n",
    "\n",
    "    def get_inputs_and_word_embeddings(self, sequences, max_length=128):\n",
    "        \"\"\"\n",
    "        对中文序列进行分词和word embeddings处理\n",
    "        :param sequences: 中文文本序列。例如: [\"鸡你太美\", \"哎呦，你干嘛！\"]\n",
    "        :param max_length: 文本的最大长度，不足则进行填充，超出进行裁剪。\n",
    "        :return: tokenizer的输出和word embeddings.\n",
    "        \"\"\"\n",
    "        inputs = self.tokenizer(sequences, padding='max_length', max_length=max_length, return_tensors='pt',\n",
    "                                truncation=True).to(device)\n",
    "        # 使用BERT的work embeddings对token进行embedding，这里得到的embedding并不包含position embedding和segment embedding\n",
    "        word_embeddings = self.word_embedding_table(inputs['input_ids'])\n",
    "        return inputs, word_embeddings"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "class DetectionNetwork(nn.Module):\n",
    "\n",
    "    def __init__(self, position_embeddings, transformer_blocks, hidden_size):\n",
    "        \"\"\"\n",
    "        :param position_embeddings: bert的position_embeddings，本质是一个nn.Embedding\n",
    "        :param transformer: BERT的前两层transformer_block，其是一个ModuleList对象\n",
    "        \"\"\"\n",
    "        super(DetectionNetwork, self).__init__()\n",
    "        self.position_embeddings = position_embeddings\n",
    "        self.transformer_blocks = transformer_blocks\n",
    "\n",
    "        # 定义最后的预测层，预测哪个token是错误的\n",
    "        self.dense_layer = nn.Sequential(\n",
    "            nn.Linear(hidden_size, 1),\n",
    "            nn.Sigmoid()\n",
    "        )\n",
    "\n",
    "    def forward(self, word_embeddings):\n",
    "        # 获取token序列的长度，这里为128\n",
    "        sequence_length = word_embeddings.size(1)\n",
    "        # 生成position embedding\n",
    "        position_embeddings = self.position_embeddings(torch.LongTensor(range(sequence_length)).to(device))\n",
    "        # 融合work_embedding和position_embedding\n",
    "        x = word_embeddings + position_embeddings\n",
    "        # 将x一层一层的使用transformer encoder进行向后传递\n",
    "        for transformer_layer in self.transformer_blocks:\n",
    "            x = transformer_layer(x)[0]\n",
    "\n",
    "        # 最终返回Detection Network输出的hidden states和预测结果\n",
    "        hidden_states = x\n",
    "        return hidden_states, self.dense_layer(hidden_states)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "class MDCSpellModel(nn.Module):\n",
    "\n",
    "    def __init__(self):\n",
    "        super(MDCSpellModel, self).__init__()\n",
    "        # 构造Correction Network\n",
    "        self.correction_network = CorrectionNetwork()\n",
    "        self._init_correction_dense_layer()\n",
    "\n",
    "        # 构造Detection Network\n",
    "        # position embedding使用BERT的\n",
    "        position_embeddings = self.correction_network.bert.embeddings.position_embeddings\n",
    "        # 作者在论文中提到的，Detection Network的Transformer使用BERT的权重\n",
    "        # 所以我这里直接克隆BERT的前两层Transformer来完成这个动作\n",
    "        transformer = copy.deepcopy(self.correction_network.bert.encoder.layer[:2])\n",
    "        # 提取BERT的词向量大小\n",
    "        hidden_size = self.correction_network.bert.config.hidden_size\n",
    "\n",
    "        # 构造Detection Network\n",
    "        self.detection_network = DetectionNetwork(position_embeddings, transformer, hidden_size)\n",
    "\n",
    "    def forward(self, sequences, max_length=128):\n",
    "        # 先获取word embedding，Correction Network和Detection Network都要用\n",
    "        inputs, word_embeddings = self.correction_network.get_inputs_and_word_embeddings(sequences, max_length)\n",
    "        # Detection Network进行前向传递，获取输出的Hidden State和预测结果\n",
    "        hidden_states, detection_outputs = self.detection_network(word_embeddings)\n",
    "        # Correction Network进行前向传递，获取其预测结果\n",
    "        correction_outputs = self.correction_network(inputs, word_embeddings, hidden_states)\n",
    "        # 返回Correction Network 和 Detection Network 的预测结果。\n",
    "        # 在计算损失时`[PAD]`token不需要参与计算，所以这里将`[PAD]`部分全都变为0\n",
    "        return correction_outputs, detection_outputs.squeeze(2) * inputs['attention_mask']\n",
    "\n",
    "    def _init_correction_dense_layer(self):\n",
    "        \"\"\"\n",
    "        原论文中提到，使用Word Embedding的weight来对Correction Network进行初始化\n",
    "        \"\"\"\n",
    "        self.correction_network.dense_layer.weight.data = self.correction_network.word_embedding_table.weight.data"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "定义好模型后，我们来简单的尝试一下："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Some weights of the model checkpoint at hfl/chinese-roberta-wwm-ext were not used when initializing BertModel: ['cls.predictions.transform.LayerNorm.weight', 'cls.predictions.decoder.weight', 'cls.predictions.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.transform.dense.weight', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight', 'cls.predictions.transform.LayerNorm.bias']\n",
      "- This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).\n",
      "- This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "correction_outputs shape: torch.Size([2, 128, 21128])\n",
      "detection_outputs shape: torch.Size([2, 128])\n"
     ]
    }
   ],
   "source": [
    "model = MDCSpellModel().to(device)\n",
    "correction_outputs, detection_outputs = model([\"鸡你太美\", \"哎呦，你干嘛！\"])\n",
    "print(\"correction_outputs shape:\", correction_outputs.size())\n",
    "print(\"detection_outputs shape:\", detection_outputs.size())"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 损失函数"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "Correction Network和Detection Network使用的都是Cross Entropy。之后进行相加即可：\n",
    "\n",
    "$$\n",
    "L = \\lambda L^c + (1-\\lambda) L^d\n",
    "$$\n",
    "\n",
    "其中 $\\lambda \\in [0,1]$ 。作者通过实验得出 $\\lambda=0.85$ 时效果最好。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "class MDCSpellLoss(nn.Module):\n",
    "\n",
    "    def __init__(self, coefficient=0.85):\n",
    "        super(MDCSpellLoss, self).__init__()\n",
    "        # 定义Correction Network的Loss函数\n",
    "        self.correction_criterion = nn.CrossEntropyLoss(ignore_index=0)\n",
    "        # 定义Detection Network的Loss函数，因为是二分类，所以用Binary Cross Entropy\n",
    "        self.detection_criterion = nn.BCELoss()\n",
    "        # 权重系数\n",
    "        self.coefficient = coefficient\n",
    "\n",
    "    def forward(self, correction_outputs, correction_targets, detection_outputs, detection_targets):\n",
    "        \"\"\"\n",
    "        :param correction_outputs: Correction Network的输出，Shape为(batch_size, sequence_length, hidden_size)\n",
    "        :param correction_targets: Correction Network的标签，Shape为(batch_size, sequence_length)\n",
    "        :param detection_outputs: Detection Network的输出，Shape为(batch_size, sequence_length)\n",
    "        :param detection_targets: Detection Network的标签，Shape为(batch_size, sequence_length)\n",
    "        :return:\n",
    "        \"\"\"\n",
    "        # 计算Correction Network的loss，因为Shape维度为3，所以要把batch_size和sequence_length进行合并才能计算\n",
    "        correction_loss = self.correction_criterion(correction_outputs.view(-1, correction_outputs.size(2)),\n",
    "                                                    correction_targets.view(-1))\n",
    "        # 计算Detection Network的loss\n",
    "        detection_loss = self.detection_criterion(detection_outputs, detection_targets)\n",
    "        # 对两个loss进行加权平均\n",
    "        return self.coefficient * correction_loss + (1 - self.coefficient) * detection_loss"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 模型训练"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "作者的训练方式：\n",
    "\n",
    "1. 第一步，首先使用 [Wang271K(自己造的假数据)](https://github.com/wdimmy/Automatic-Corpus-Generation) 数据集进行训练。batch size为32， learning rate为2e-5\n",
    "\n",
    "2. 第二步，使用SIGHAN训练集进行fine-tune。 batch size为32，learning rate为1e-5\n",
    "\n",
    "> 作者并没有提到使用的是什么Optimizer，但看这个学习率，应该是Adam。\n",
    "\n",
    "> 在第一步，作者说的是使用了几乎3M个，但作者只提到过Wang271K这个数据集，我猜可能作者看错了，这个是0.3M条数据，而不是3M。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "作者首先使用了Wang271K数据集进行对模型进行训练，然后又使用SIGHAN训练集对模型进行fine-tune。这里我就不进行fine-tune了，直接进行训练。我这里使用的是 [ReaLiSe](https://github.com/DaDaMrX/ReaLiSe)论文 处理好的数据集，其就是Wang271K和SIGHAN。\n",
    "\n",
    "[百度网盘链接](https://pan.baidu.com/s/1x67LPiYAjLKhO1_2CI6aOA?pwd=skda) ：https://pan.baidu.com/s/1x67LPiYAjLKhO1_2CI6aOA?pwd=skda\n",
    "\n",
    "下载好直接解压即可。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "'gdown' 不是内部或外部命令，也不是可运行的程序\n",
      "或批处理文件。\n"
     ]
    }
   ],
   "source": [
    "!gdown '1dC09i57lobL91lEbpebDuUBS0fGz-LAk' --folder --output data"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "## 构造Dataset"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "class CSCDataset(Dataset):\n",
    "\n",
    "    def __init__(self):\n",
    "        super(CSCDataset, self).__init__()\n",
    "        with open(\"../data/realise/trainall.times2.pkl\", mode='br') as f:\n",
    "            train_data = pickle.load(f)\n",
    "\n",
    "        self.train_data = train_data\n",
    "\n",
    "    def __getitem__(self, index):\n",
    "        src = self.train_data[index]['src']\n",
    "        tgt = self.train_data[index]['tgt']\n",
    "        return src, tgt\n",
    "\n",
    "    def __len__(self):\n",
    "        return len(self.train_data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "train_data = CSCDataset()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "('纽约早盘作为基准的低硫轻油，五月份交割价攀升一点三四美元，来到每桶二十八点二五美元，而上周五曾下挫一豪元以上。',\n",
       " '纽约早盘作为基准的低硫轻油，五月份交割价攀升一点三四美元，来到每桶二十八点二五美元，而上周五曾下挫一美元以上。')"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_data.__getitem__(0)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "## 构造Dataloader"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "tokenizer = AutoTokenizer.from_pretrained(\"hfl/chinese-roberta-wwm-ext\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "def collate_fn(batch):\n",
    "    src, tgt = zip(*batch)\n",
    "    src, tgt = list(src), list(tgt)\n",
    "\n",
    "    src_tokens = tokenizer(src, padding='max_length', max_length=128, return_tensors='pt', truncation=True)['input_ids']\n",
    "    tgt_tokens = tokenizer(tgt, padding='max_length', max_length=128, return_tensors='pt', truncation=True)['input_ids']\n",
    "\n",
    "    correction_targets = tgt_tokens\n",
    "    detection_targets = (src_tokens != tgt_tokens).float()\n",
    "    return src, correction_targets, detection_targets, src_tokens  # src_tokens在计算Correction的精准率时要用到"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "train_loader = DataLoader(train_data, batch_size=batch_size, collate_fn=collate_fn, shuffle=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "## 训练"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "criterion = MDCSpellLoss()\n",
    "optimizer = torch.optim.Adam(model.parameters(), lr=2e-5)\n",
    "start_epoch = 0  # 从哪个epoch开始\n",
    "total_step = 0  # 一共更新了多少次参数"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "恢复训练，epoch: 2\n"
     ]
    }
   ],
   "source": [
    "# 恢复之前的训练\n",
    "if os.path.exists(model_path):\n",
    "    if not torch.cuda.is_available():\n",
    "        checkpoint = torch.load(model_path, map_location='cpu')\n",
    "    else:\n",
    "        checkpoint = torch.load(model_path)\n",
    "    model.load_state_dict(checkpoint['model'])\n",
    "    optimizer.load_state_dict(checkpoint['optimizer'])\n",
    "    start_epoch = checkpoint['epoch']\n",
    "    total_step = checkpoint['total_step']\n",
    "    print(\"恢复训练，epoch:\", start_epoch)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "model = model.to(device)\n",
    "model = model.train()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "训练这里代码量看起来很大，但实际大多都是计算recall和precision的代码。这里对于Detection的recall和precision的计算使用的是Detection Network的预测结果。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 0, Step 20/8882, Total Step 20, loss 0.95817, detection recall 0.0893, detection precision 0.0189, correction recall 0.0000, correction precision 0.0000\n",
      "Epoch 0, Step 40/8882, Total Step 40, loss 0.35551, detection recall 0.0000, detection precision 0.0000, correction recall 0.0000, correction precision 0.0000\n",
      "Epoch 0, Step 60/8882, Total Step 60, loss 0.28515, detection recall 0.0000, detection precision 0.0000, correction recall 0.0011, correction precision 0.0043\n",
      "Epoch 0, Step 80/8882, Total Step 80, loss 0.24444, detection recall 0.0000, detection precision 0.0000, correction recall 0.0157, correction precision 0.0848\n",
      "Epoch 0, Step 100/8882, Total Step 100, loss 0.22684, detection recall 0.0000, detection precision 0.0000, correction recall 0.0580, correction precision 0.2680\n",
      "Epoch 0, Step 120/8882, Total Step 120, loss 0.20368, detection recall 0.0000, detection precision 0.0000, correction recall 0.0932, correction precision 0.3694\n",
      "Epoch 0, Step 140/8882, Total Step 140, loss 0.20133, detection recall 0.0000, detection precision 0.0000, correction recall 0.1157, correction precision 0.4440\n",
      "Epoch 0, Step 160/8882, Total Step 160, loss 0.20882, detection recall 0.0000, detection precision 0.0000, correction recall 0.1183, correction precision 0.4000\n",
      "Epoch 0, Step 180/8882, Total Step 180, loss 0.19836, detection recall 0.0000, detection precision 0.0000, correction recall 0.1481, correction precision 0.4463\n",
      "Epoch 0, Step 200/8882, Total Step 200, loss 0.19395, detection recall 0.0000, detection precision 0.0000, correction recall 0.1578, correction precision 0.4982\n",
      "Epoch 0, Step 220/8882, Total Step 220, loss 0.19205, detection recall 0.0000, detection precision 0.0000, correction recall 0.1765, correction precision 0.5000\n",
      "Epoch 0, Step 240/8882, Total Step 240, loss 0.17223, detection recall 0.0000, detection precision 0.0000, correction recall 0.1810, correction precision 0.5064\n",
      "Epoch 0, Step 260/8882, Total Step 260, loss 0.18437, detection recall 0.0000, detection precision 0.0000, correction recall 0.1807, correction precision 0.5108\n",
      "Epoch 0, Step 280/8882, Total Step 280, loss 0.18126, detection recall 0.0000, detection precision 0.0000, correction recall 0.2063, correction precision 0.5793\n",
      "Epoch 0, Step 300/8882, Total Step 300, loss 0.17073, detection recall 0.0000, detection precision 0.0000, correction recall 0.2136, correction precision 0.5395\n",
      "Epoch 0, Step 320/8882, Total Step 320, loss 0.18167, detection recall 0.0000, detection precision 0.0000, correction recall 0.2046, correction precision 0.5836\n",
      "Epoch 0, Step 340/8882, Total Step 340, loss 0.16323, detection recall 0.0000, detection precision 0.0000, correction recall 0.2311, correction precision 0.5694\n",
      "Epoch 0, Step 360/8882, Total Step 360, loss 0.16797, detection recall 0.0000, detection precision 0.0000, correction recall 0.2346, correction precision 0.5618\n",
      "Epoch 0, Step 380/8882, Total Step 380, loss 0.16359, detection recall 0.0000, detection precision 0.0000, correction recall 0.2404, correction precision 0.5503\n",
      "Epoch 0, Step 400/8882, Total Step 400, loss 0.15790, detection recall 0.0000, detection precision 0.0000, correction recall 0.2596, correction precision 0.5867\n",
      "Epoch 0, Step 420/8882, Total Step 420, loss 0.15369, detection recall 0.0000, detection precision 0.0000, correction recall 0.2506, correction precision 0.5784\n",
      "Epoch 0, Step 440/8882, Total Step 440, loss 0.15567, detection recall 0.0000, detection precision 0.0000, correction recall 0.2616, correction precision 0.6077\n",
      "Epoch 0, Step 460/8882, Total Step 460, loss 0.15217, detection recall 0.0000, detection precision 0.0000, correction recall 0.2822, correction precision 0.6350\n",
      "Epoch 0, Step 480/8882, Total Step 480, loss 0.15530, detection recall 0.0000, detection precision 0.0000, correction recall 0.2565, correction precision 0.5343\n",
      "Epoch 0, Step 500/8882, Total Step 500, loss 0.14779, detection recall 0.0000, detection precision 0.0000, correction recall 0.2906, correction precision 0.6320\n",
      "Epoch 0, Step 520/8882, Total Step 520, loss 0.14706, detection recall 0.0000, detection precision 0.0000, correction recall 0.2915, correction precision 0.6192\n",
      "Epoch 0, Step 540/8882, Total Step 540, loss 0.15855, detection recall 0.0000, detection precision 0.0000, correction recall 0.2641, correction precision 0.5969\n",
      "Epoch 0, Step 560/8882, Total Step 560, loss 0.14579, detection recall 0.0000, detection precision 0.0000, correction recall 0.2893, correction precision 0.6530\n",
      "Epoch 0, Step 580/8882, Total Step 580, loss 0.13796, detection recall 0.0000, detection precision 0.0000, correction recall 0.3255, correction precision 0.6438\n",
      "Epoch 0, Step 600/8882, Total Step 600, loss 0.14297, detection recall 0.0000, detection precision 0.0000, correction recall 0.2964, correction precision 0.6250\n",
      "Epoch 0, Step 620/8882, Total Step 620, loss 0.14577, detection recall 0.0000, detection precision 0.0000, correction recall 0.3226, correction precision 0.6467\n",
      "Epoch 0, Step 640/8882, Total Step 640, loss 0.15642, detection recall 0.0000, detection precision 0.0000, correction recall 0.2767, correction precision 0.6165\n",
      "Epoch 0, Step 660/8882, Total Step 660, loss 0.13127, detection recall 0.0000, detection precision 0.0000, correction recall 0.3489, correction precision 0.6930\n",
      "Epoch 0, Step 680/8882, Total Step 680, loss 0.14086, detection recall 0.0000, detection precision 0.0000, correction recall 0.2983, correction precision 0.6122\n",
      "Epoch 0, Step 700/8882, Total Step 700, loss 0.14242, detection recall 0.0000, detection precision 0.0000, correction recall 0.3319, correction precision 0.6631\n",
      "Epoch 0, Step 720/8882, Total Step 720, loss 0.12490, detection recall 0.0000, detection precision 0.0000, correction recall 0.3614, correction precision 0.6839\n",
      "Epoch 0, Step 740/8882, Total Step 740, loss 0.13496, detection recall 0.0000, detection precision 0.0000, correction recall 0.3164, correction precision 0.6386\n",
      "Epoch 0, Step 760/8882, Total Step 760, loss 0.13151, detection recall 0.0000, detection precision 0.0000, correction recall 0.3420, correction precision 0.6474\n",
      "Epoch 0, Step 780/8882, Total Step 780, loss 0.12964, detection recall 0.0000, detection precision 0.0000, correction recall 0.3672, correction precision 0.6813\n",
      "Epoch 0, Step 800/8882, Total Step 800, loss 0.13784, detection recall 0.0000, detection precision 0.0000, correction recall 0.3251, correction precision 0.6525\n",
      "Epoch 0, Step 820/8882, Total Step 820, loss 0.12741, detection recall 0.0000, detection precision 0.0000, correction recall 0.3760, correction precision 0.6946\n",
      "Epoch 0, Step 840/8882, Total Step 840, loss 0.12820, detection recall 0.0000, detection precision 0.0000, correction recall 0.3591, correction precision 0.6639\n",
      "Epoch 0, Step 860/8882, Total Step 860, loss 0.13134, detection recall 0.0000, detection precision 0.0000, correction recall 0.3464, correction precision 0.6536\n",
      "Epoch 0, Step 880/8882, Total Step 880, loss 0.12902, detection recall 0.0000, detection precision 0.0000, correction recall 0.3512, correction precision 0.6938\n",
      "Epoch 0, Step 900/8882, Total Step 900, loss 0.13768, detection recall 0.0000, detection precision 0.0000, correction recall 0.3296, correction precision 0.6356\n",
      "Epoch 0, Step 920/8882, Total Step 920, loss 0.12900, detection recall 0.0000, detection precision 0.0000, correction recall 0.3657, correction precision 0.6779\n",
      "Epoch 0, Step 940/8882, Total Step 940, loss 0.12603, detection recall 0.0000, detection precision 0.0000, correction recall 0.3709, correction precision 0.7124\n",
      "Epoch 0, Step 960/8882, Total Step 960, loss 0.12766, detection recall 0.0000, detection precision 0.0000, correction recall 0.3870, correction precision 0.7237\n",
      "Epoch 0, Step 980/8882, Total Step 980, loss 0.12331, detection recall 0.0000, detection precision 0.0000, correction recall 0.3580, correction precision 0.6965\n",
      "Epoch 0, Step 1000/8882, Total Step 1000, loss 0.12690, detection recall 0.0000, detection precision 0.0000, correction recall 0.3693, correction precision 0.7064\n",
      "Epoch 0, Step 1020/8882, Total Step 1020, loss 0.12525, detection recall 0.0000, detection precision 0.0000, correction recall 0.4025, correction precision 0.7245\n",
      "Epoch 0, Step 1040/8882, Total Step 1040, loss 0.12564, detection recall 0.0000, detection precision 0.0000, correction recall 0.3828, correction precision 0.7006\n",
      "Epoch 0, Step 1060/8882, Total Step 1060, loss 0.12296, detection recall 0.0000, detection precision 0.0000, correction recall 0.3853, correction precision 0.6834\n",
      "Epoch 0, Step 1080/8882, Total Step 1080, loss 0.11098, detection recall 0.0000, detection precision 0.0000, correction recall 0.3791, correction precision 0.6729\n",
      "Epoch 0, Step 1100/8882, Total Step 1100, loss 0.11190, detection recall 0.0011, detection precision 1.0000, correction recall 0.4029, correction precision 0.6861\n",
      "Epoch 0, Step 1120/8882, Total Step 1120, loss 0.12361, detection recall 0.0011, detection precision 1.0000, correction recall 0.3790, correction precision 0.7143\n",
      "Epoch 0, Step 1140/8882, Total Step 1140, loss 0.11210, detection recall 0.0035, detection precision 1.0000, correction recall 0.4126, correction precision 0.7344\n",
      "Epoch 0, Step 1160/8882, Total Step 1160, loss 0.11781, detection recall 0.0022, detection precision 1.0000, correction recall 0.3980, correction precision 0.7065\n",
      "Epoch 0, Step 1180/8882, Total Step 1180, loss 0.11752, detection recall 0.0011, detection precision 1.0000, correction recall 0.4092, correction precision 0.7072\n",
      "Epoch 0, Step 1200/8882, Total Step 1200, loss 0.11390, detection recall 0.0068, detection precision 0.6667, correction recall 0.4124, correction precision 0.7033\n",
      "Epoch 0, Step 1220/8882, Total Step 1220, loss 0.12264, detection recall 0.0044, detection precision 0.5714, correction recall 0.4114, correction precision 0.7231\n",
      "Epoch 0, Step 1240/8882, Total Step 1240, loss 0.11061, detection recall 0.0205, detection precision 0.8636, correction recall 0.4198, correction precision 0.7331\n",
      "Epoch 0, Step 1260/8882, Total Step 1260, loss 0.10429, detection recall 0.0202, detection precision 0.8571, correction recall 0.4489, correction precision 0.7519\n",
      "Epoch 0, Step 1280/8882, Total Step 1280, loss 0.11856, detection recall 0.0279, detection precision 0.8125, correction recall 0.4255, correction precision 0.7166\n",
      "Epoch 0, Step 1300/8882, Total Step 1300, loss 0.11390, detection recall 0.0262, detection precision 0.7742, correction recall 0.4164, correction precision 0.7500\n",
      "Epoch 0, Step 1320/8882, Total Step 1320, loss 0.11225, detection recall 0.0245, detection precision 0.7857, correction recall 0.4236, correction precision 0.7466\n",
      "Epoch 0, Step 1340/8882, Total Step 1340, loss 0.11150, detection recall 0.0452, detection precision 0.8511, correction recall 0.3966, correction precision 0.7020\n",
      "Epoch 0, Step 1360/8882, Total Step 1360, loss 0.11339, detection recall 0.0510, detection precision 0.8036, correction recall 0.4286, correction precision 0.7173\n",
      "Epoch 0, Step 1380/8882, Total Step 1380, loss 0.10727, detection recall 0.0282, detection precision 0.8621, correction recall 0.4047, correction precision 0.6957\n",
      "Epoch 0, Step 1400/8882, Total Step 1400, loss 0.11000, detection recall 0.0334, detection precision 0.6667, correction recall 0.4394, correction precision 0.7383\n",
      "Epoch 0, Step 1420/8882, Total Step 1420, loss 0.11120, detection recall 0.0800, detection precision 0.8861, correction recall 0.4194, correction precision 0.7414\n",
      "Epoch 0, Step 1440/8882, Total Step 1440, loss 0.10907, detection recall 0.0805, detection precision 0.7766, correction recall 0.4454, correction precision 0.7440\n",
      "Epoch 0, Step 1460/8882, Total Step 1460, loss 0.10135, detection recall 0.0601, detection precision 0.8154, correction recall 0.4853, correction precision 0.7712\n",
      "Epoch 0, Step 1480/8882, Total Step 1480, loss 0.10670, detection recall 0.0880, detection precision 0.7692, correction recall 0.4576, correction precision 0.7879\n",
      "Epoch 0, Step 1500/8882, Total Step 1500, loss 0.10467, detection recall 0.0746, detection precision 0.7614, correction recall 0.4532, correction precision 0.7165\n",
      "Epoch 0, Step 1520/8882, Total Step 1520, loss 0.10683, detection recall 0.0716, detection precision 0.8025, correction recall 0.4383, correction precision 0.7453\n",
      "Epoch 0, Step 1540/8882, Total Step 1540, loss 0.10180, detection recall 0.1099, detection precision 0.8279, correction recall 0.4407, correction precision 0.7459\n",
      "Epoch 0, Step 1560/8882, Total Step 1560, loss 0.09629, detection recall 0.1109, detection precision 0.7857, correction recall 0.4972, correction precision 0.7475\n",
      "Epoch 0, Step 1580/8882, Total Step 1580, loss 0.09369, detection recall 0.1532, detection precision 0.7841, correction recall 0.4961, correction precision 0.7538\n",
      "Epoch 0, Step 1600/8882, Total Step 1600, loss 0.10115, detection recall 0.1291, detection precision 0.7703, correction recall 0.4643, correction precision 0.7482\n",
      "Epoch 0, Step 1620/8882, Total Step 1620, loss 0.10038, detection recall 0.1265, detection precision 0.8169, correction recall 0.4766, correction precision 0.7357\n",
      "Epoch 0, Step 1640/8882, Total Step 1640, loss 0.10071, detection recall 0.1261, detection precision 0.8169, correction recall 0.4739, correction precision 0.7466\n",
      "Epoch 0, Step 1660/8882, Total Step 1660, loss 0.09821, detection recall 0.1062, detection precision 0.7934, correction recall 0.4524, correction precision 0.7477\n",
      "Epoch 0, Step 1680/8882, Total Step 1680, loss 0.09102, detection recall 0.1321, detection precision 0.8095, correction recall 0.5006, correction precision 0.7857\n",
      "Epoch 0, Step 1700/8882, Total Step 1700, loss 0.10502, detection recall 0.1062, detection precision 0.8276, correction recall 0.4624, correction precision 0.7532\n",
      "Epoch 0, Step 1720/8882, Total Step 1720, loss 0.10531, detection recall 0.1120, detection precision 0.7576, correction recall 0.4860, correction precision 0.7709\n",
      "Epoch 0, Step 1740/8882, Total Step 1740, loss 0.09905, detection recall 0.1495, detection precision 0.8263, correction recall 0.4800, correction precision 0.7599\n",
      "Epoch 0, Step 1760/8882, Total Step 1760, loss 0.08998, detection recall 0.1449, detection precision 0.7661, correction recall 0.5177, correction precision 0.8014\n",
      "Epoch 0, Step 1780/8882, Total Step 1780, loss 0.08979, detection recall 0.1475, detection precision 0.7751, correction recall 0.5169, correction precision 0.8010\n",
      "Epoch 0, Step 1800/8882, Total Step 1800, loss 0.09296, detection recall 0.1464, detection precision 0.7661, correction recall 0.4872, correction precision 0.7758\n",
      "Epoch 0, Step 1820/8882, Total Step 1820, loss 0.09695, detection recall 0.1631, detection precision 0.7704, correction recall 0.4849, correction precision 0.7933\n",
      "Epoch 0, Step 1840/8882, Total Step 1840, loss 0.09513, detection recall 0.1611, detection precision 0.7692, correction recall 0.5063, correction precision 0.7801\n",
      "Epoch 0, Step 1860/8882, Total Step 1860, loss 0.09346, detection recall 0.1530, detection precision 0.7143, correction recall 0.4995, correction precision 0.7733\n",
      "Epoch 0, Step 1880/8882, Total Step 1880, loss 0.09843, detection recall 0.1326, detection precision 0.8000, correction recall 0.5005, correction precision 0.7813\n",
      "Epoch 0, Step 1900/8882, Total Step 1900, loss 0.09032, detection recall 0.1800, detection precision 0.7980, correction recall 0.5200, correction precision 0.7826\n",
      "Epoch 0, Step 1920/8882, Total Step 1920, loss 0.09372, detection recall 0.2036, detection precision 0.7787, correction recall 0.5139, correction precision 0.7831\n",
      "Epoch 0, Step 1940/8882, Total Step 1940, loss 0.08952, detection recall 0.1742, detection precision 0.8238, correction recall 0.5148, correction precision 0.7680\n",
      "Epoch 0, Step 1960/8882, Total Step 1960, loss 0.08721, detection recall 0.1845, detection precision 0.7297, correction recall 0.5034, correction precision 0.7674\n",
      "Epoch 0, Step 1980/8882, Total Step 1980, loss 0.08814, detection recall 0.1684, detection precision 0.7475, correction recall 0.5176, correction precision 0.7751\n",
      "Epoch 0, Step 2000/8882, Total Step 2000, loss 0.08331, detection recall 0.2054, detection precision 0.8153, correction recall 0.5471, correction precision 0.7876\n",
      "Epoch 0, Step 2020/8882, Total Step 2020, loss 0.09739, detection recall 0.1981, detection precision 0.8318, correction recall 0.5141, correction precision 0.7736\n",
      "Epoch 0, Step 2040/8882, Total Step 2040, loss 0.09092, detection recall 0.2011, detection precision 0.6911, correction recall 0.4933, correction precision 0.7661\n",
      "Epoch 0, Step 2060/8882, Total Step 2060, loss 0.09032, detection recall 0.1622, detection precision 0.8066, correction recall 0.5067, correction precision 0.7575\n",
      "Epoch 0, Step 2080/8882, Total Step 2080, loss 0.07457, detection recall 0.1704, detection precision 0.7474, correction recall 0.5758, correction precision 0.8221\n",
      "Epoch 0, Step 2100/8882, Total Step 2100, loss 0.08274, detection recall 0.1625, detection precision 0.7814, correction recall 0.5148, correction precision 0.7678\n",
      "Epoch 0, Step 2120/8882, Total Step 2120, loss 0.08742, detection recall 0.1783, detection precision 0.8457, correction recall 0.5022, correction precision 0.7555\n",
      "Epoch 0, Step 2140/8882, Total Step 2140, loss 0.08984, detection recall 0.1949, detection precision 0.7468, correction recall 0.5253, correction precision 0.7963\n",
      "Epoch 0, Step 2160/8882, Total Step 2160, loss 0.09042, detection recall 0.2220, detection precision 0.7669, correction recall 0.5212, correction precision 0.7970\n",
      "Epoch 0, Step 2180/8882, Total Step 2180, loss 0.08445, detection recall 0.2277, detection precision 0.7787, correction recall 0.5457, correction precision 0.7828\n",
      "Epoch 0, Step 2200/8882, Total Step 2200, loss 0.08208, detection recall 0.1721, detection precision 0.7650, correction recall 0.5613, correction precision 0.7971\n",
      "Epoch 0, Step 2220/8882, Total Step 2220, loss 0.08446, detection recall 0.1865, detection precision 0.7934, correction recall 0.5497, correction precision 0.8191\n",
      "Epoch 0, Step 2240/8882, Total Step 2240, loss 0.08652, detection recall 0.2038, detection precision 0.7764, correction recall 0.5227, correction precision 0.7815\n",
      "Epoch 0, Step 2260/8882, Total Step 2260, loss 0.09137, detection recall 0.2186, detection precision 0.8016, correction recall 0.5249, correction precision 0.7772\n",
      "Epoch 0, Step 2280/8882, Total Step 2280, loss 0.08934, detection recall 0.1967, detection precision 0.8380, correction recall 0.5196, correction precision 0.7785\n",
      "Epoch 0, Step 2300/8882, Total Step 2300, loss 0.08731, detection recall 0.2169, detection precision 0.7361, correction recall 0.5444, correction precision 0.8174\n",
      "Epoch 0, Step 2320/8882, Total Step 2320, loss 0.08085, detection recall 0.2246, detection precision 0.7790, correction recall 0.5626, correction precision 0.8053\n",
      "Epoch 0, Step 2340/8882, Total Step 2340, loss 0.08550, detection recall 0.1925, detection precision 0.8208, correction recall 0.5520, correction precision 0.7946\n",
      "Epoch 0, Step 2360/8882, Total Step 2360, loss 0.08744, detection recall 0.2308, detection precision 0.6892, correction recall 0.5407, correction precision 0.8047\n",
      "Epoch 0, Step 2380/8882, Total Step 2380, loss 0.08442, detection recall 0.2191, detection precision 0.8208, correction recall 0.5428, correction precision 0.8120\n",
      "Epoch 0, Step 2400/8882, Total Step 2400, loss 0.08907, detection recall 0.1872, detection precision 0.7380, correction recall 0.5537, correction precision 0.8319\n",
      "Epoch 0, Step 2420/8882, Total Step 2420, loss 0.08031, detection recall 0.2492, detection precision 0.8175, correction recall 0.5562, correction precision 0.8183\n",
      "Epoch 0, Step 2440/8882, Total Step 2440, loss 0.08430, detection recall 0.2365, detection precision 0.7786, correction recall 0.5482, correction precision 0.8003\n",
      "Epoch 0, Step 2460/8882, Total Step 2460, loss 0.08042, detection recall 0.2477, detection precision 0.8022, correction recall 0.5803, correction precision 0.8104\n",
      "Epoch 0, Step 2480/8882, Total Step 2480, loss 0.08041, detection recall 0.2218, detection precision 0.7895, correction recall 0.5529, correction precision 0.7851\n",
      "Epoch 0, Step 2500/8882, Total Step 2500, loss 0.08357, detection recall 0.2423, detection precision 0.7500, correction recall 0.5454, correction precision 0.8016\n",
      "Epoch 0, Step 2520/8882, Total Step 2520, loss 0.08201, detection recall 0.2273, detection precision 0.7581, correction recall 0.5682, correction precision 0.8242\n",
      "Epoch 0, Step 2540/8882, Total Step 2540, loss 0.07771, detection recall 0.2401, detection precision 0.7821, correction recall 0.5735, correction precision 0.7997\n",
      "Epoch 0, Step 2560/8882, Total Step 2560, loss 0.08773, detection recall 0.2249, detection precision 0.8374, correction recall 0.5426, correction precision 0.7814\n",
      "Epoch 0, Step 2580/8882, Total Step 2580, loss 0.07443, detection recall 0.2367, detection precision 0.7438, correction recall 0.5527, correction precision 0.8120\n",
      "Epoch 0, Step 2600/8882, Total Step 2600, loss 0.07569, detection recall 0.2462, detection precision 0.7717, correction recall 0.5665, correction precision 0.8099\n",
      "Epoch 0, Step 2620/8882, Total Step 2620, loss 0.08344, detection recall 0.2297, detection precision 0.7816, correction recall 0.5574, correction precision 0.8101\n",
      "Epoch 0, Step 2640/8882, Total Step 2640, loss 0.08069, detection recall 0.2441, detection precision 0.7356, correction recall 0.5613, correction precision 0.8167\n",
      "Epoch 0, Step 2660/8882, Total Step 2660, loss 0.07861, detection recall 0.2266, detection precision 0.7899, correction recall 0.5547, correction precision 0.8174\n",
      "Epoch 0, Step 2680/8882, Total Step 2680, loss 0.07989, detection recall 0.2463, detection precision 0.7509, correction recall 0.5743, correction precision 0.8241\n",
      "Epoch 0, Step 2700/8882, Total Step 2700, loss 0.08058, detection recall 0.2436, detection precision 0.7399, correction recall 0.5651, correction precision 0.8063\n",
      "Epoch 0, Step 2720/8882, Total Step 2720, loss 0.07980, detection recall 0.2447, detection precision 0.8059, correction recall 0.5762, correction precision 0.7920\n",
      "Epoch 0, Step 2740/8882, Total Step 2740, loss 0.08482, detection recall 0.2407, detection precision 0.7509, correction recall 0.5438, correction precision 0.8055\n",
      "Epoch 0, Step 2760/8882, Total Step 2760, loss 0.07461, detection recall 0.2406, detection precision 0.8084, correction recall 0.5781, correction precision 0.8325\n",
      "Epoch 0, Step 2780/8882, Total Step 2780, loss 0.07938, detection recall 0.2698, detection precision 0.7562, correction recall 0.5859, correction precision 0.8210\n",
      "Epoch 0, Step 2800/8882, Total Step 2800, loss 0.08312, detection recall 0.2639, detection precision 0.7683, correction recall 0.5573, correction precision 0.8022\n",
      "Epoch 0, Step 2820/8882, Total Step 2820, loss 0.06755, detection recall 0.2933, detection precision 0.8248, correction recall 0.6070, correction precision 0.8259\n",
      "Epoch 0, Step 2840/8882, Total Step 2840, loss 0.07501, detection recall 0.2679, detection precision 0.7262, correction recall 0.5766, correction precision 0.8207\n",
      "Epoch 0, Step 2860/8882, Total Step 2860, loss 0.07630, detection recall 0.2438, detection precision 0.7985, correction recall 0.5805, correction precision 0.8097\n",
      "Epoch 0, Step 2880/8882, Total Step 2880, loss 0.07716, detection recall 0.2635, detection precision 0.8102, correction recall 0.5899, correction precision 0.8269\n",
      "Epoch 0, Step 2900/8882, Total Step 2900, loss 0.07845, detection recall 0.3061, detection precision 0.7654, correction recall 0.5911, correction precision 0.8279\n",
      "Epoch 0, Step 2920/8882, Total Step 2920, loss 0.08013, detection recall 0.2697, detection precision 0.8351, correction recall 0.5905, correction precision 0.8073\n",
      "Epoch 0, Step 2940/8882, Total Step 2940, loss 0.07596, detection recall 0.2553, detection precision 0.8021, correction recall 0.5771, correction precision 0.7991\n",
      "Epoch 0, Step 2960/8882, Total Step 2960, loss 0.07425, detection recall 0.2587, detection precision 0.7887, correction recall 0.5878, correction precision 0.8170\n",
      "Epoch 0, Step 2980/8882, Total Step 2980, loss 0.07185, detection recall 0.2991, detection precision 0.7192, correction recall 0.6245, correction precision 0.8550\n",
      "Epoch 0, Step 3000/8882, Total Step 3000, loss 0.07603, detection recall 0.2573, detection precision 0.7869, correction recall 0.5843, correction precision 0.8100\n",
      "Epoch 0, Step 3020/8882, Total Step 3020, loss 0.07295, detection recall 0.3037, detection precision 0.8029, correction recall 0.6040, correction precision 0.8215\n",
      "Epoch 0, Step 3040/8882, Total Step 3040, loss 0.07496, detection recall 0.3048, detection precision 0.8006, correction recall 0.6063, correction precision 0.8281\n",
      "Epoch 0, Step 3060/8882, Total Step 3060, loss 0.07487, detection recall 0.3119, detection precision 0.7720, correction recall 0.6049, correction precision 0.8208\n",
      "Epoch 0, Step 3080/8882, Total Step 3080, loss 0.07404, detection recall 0.2720, detection precision 0.7771, correction recall 0.6221, correction precision 0.8624\n",
      "Epoch 0, Step 3100/8882, Total Step 3100, loss 0.06787, detection recall 0.2890, detection precision 0.8141, correction recall 0.6314, correction precision 0.8473\n",
      "Epoch 0, Step 3120/8882, Total Step 3120, loss 0.07720, detection recall 0.3050, detection precision 0.7292, correction recall 0.6046, correction precision 0.8552\n",
      "Epoch 0, Step 3140/8882, Total Step 3140, loss 0.06769, detection recall 0.2836, detection precision 0.8006, correction recall 0.6287, correction precision 0.8326\n",
      "Epoch 0, Step 3160/8882, Total Step 3160, loss 0.07238, detection recall 0.3257, detection precision 0.7786, correction recall 0.5980, correction precision 0.8268\n",
      "Epoch 0, Step 3180/8882, Total Step 3180, loss 0.07334, detection recall 0.3187, detection precision 0.8086, correction recall 0.6047, correction precision 0.8378\n",
      "Epoch 0, Step 3200/8882, Total Step 3200, loss 0.07189, detection recall 0.2830, detection precision 0.7906, correction recall 0.5917, correction precision 0.8164\n",
      "Epoch 0, Step 3220/8882, Total Step 3220, loss 0.07849, detection recall 0.2639, detection precision 0.7572, correction recall 0.5913, correction precision 0.8144\n",
      "Epoch 0, Step 3240/8882, Total Step 3240, loss 0.06720, detection recall 0.3241, detection precision 0.8134, correction recall 0.6471, correction precision 0.8807\n",
      "Epoch 0, Step 3260/8882, Total Step 3260, loss 0.07764, detection recall 0.3023, detection precision 0.7756, correction recall 0.5825, correction precision 0.8092\n",
      "Epoch 0, Step 3280/8882, Total Step 3280, loss 0.07291, detection recall 0.3173, detection precision 0.7795, correction recall 0.6197, correction precision 0.8382\n",
      "Epoch 0, Step 3300/8882, Total Step 3300, loss 0.06826, detection recall 0.3033, detection precision 0.7865, correction recall 0.6133, correction precision 0.8395\n",
      "Epoch 0, Step 3320/8882, Total Step 3320, loss 0.07654, detection recall 0.2831, detection precision 0.8065, correction recall 0.5878, correction precision 0.8264\n",
      "Epoch 0, Step 3340/8882, Total Step 3340, loss 0.07185, detection recall 0.3173, detection precision 0.8078, correction recall 0.6050, correction precision 0.8328\n",
      "Epoch 0, Step 3360/8882, Total Step 3360, loss 0.06639, detection recall 0.3225, detection precision 0.8113, correction recall 0.6450, correction precision 0.8409\n",
      "Epoch 0, Step 3380/8882, Total Step 3380, loss 0.06959, detection recall 0.3496, detection precision 0.7609, correction recall 0.6115, correction precision 0.8336\n",
      "Epoch 0, Step 3400/8882, Total Step 3400, loss 0.07160, detection recall 0.3473, detection precision 0.7482, correction recall 0.6086, correction precision 0.8202\n",
      "Epoch 0, Step 3420/8882, Total Step 3420, loss 0.06836, detection recall 0.3348, detection precision 0.7889, correction recall 0.6361, correction precision 0.8440\n",
      "Epoch 0, Step 3440/8882, Total Step 3440, loss 0.07082, detection recall 0.3455, detection precision 0.7859, correction recall 0.6113, correction precision 0.8326\n",
      "Epoch 0, Step 3460/8882, Total Step 3460, loss 0.06700, detection recall 0.3140, detection precision 0.7657, correction recall 0.6134, correction precision 0.8281\n",
      "Epoch 0, Step 3480/8882, Total Step 3480, loss 0.06643, detection recall 0.3311, detection precision 0.7690, correction recall 0.6463, correction precision 0.8576\n",
      "Epoch 0, Step 3500/8882, Total Step 3500, loss 0.06837, detection recall 0.3371, detection precision 0.7570, correction recall 0.6276, correction precision 0.8490\n",
      "Epoch 0, Step 3520/8882, Total Step 3520, loss 0.06129, detection recall 0.2816, detection precision 0.7683, correction recall 0.6659, correction precision 0.8638\n",
      "Epoch 0, Step 3540/8882, Total Step 3540, loss 0.06334, detection recall 0.3486, detection precision 0.7625, correction recall 0.6297, correction precision 0.8609\n",
      "Epoch 0, Step 3560/8882, Total Step 3560, loss 0.06759, detection recall 0.3190, detection precision 0.7795, correction recall 0.6316, correction precision 0.8473\n",
      "Epoch 0, Step 3580/8882, Total Step 3580, loss 0.06521, detection recall 0.3497, detection precision 0.7734, correction recall 0.6403, correction precision 0.8519\n",
      "Epoch 0, Step 3600/8882, Total Step 3600, loss 0.07039, detection recall 0.3490, detection precision 0.7913, correction recall 0.6083, correction precision 0.8275\n",
      "Epoch 0, Step 3620/8882, Total Step 3620, loss 0.07122, detection recall 0.3124, detection precision 0.7468, correction recall 0.6108, correction precision 0.8224\n",
      "Epoch 0, Step 3640/8882, Total Step 3640, loss 0.05954, detection recall 0.3460, detection precision 0.7718, correction recall 0.6391, correction precision 0.8502\n",
      "Epoch 0, Step 3660/8882, Total Step 3660, loss 0.06855, detection recall 0.3330, detection precision 0.7818, correction recall 0.6261, correction precision 0.8435\n",
      "Epoch 0, Step 3680/8882, Total Step 3680, loss 0.06786, detection recall 0.3401, detection precision 0.7819, correction recall 0.6098, correction precision 0.8218\n",
      "Epoch 0, Step 3700/8882, Total Step 3700, loss 0.07030, detection recall 0.3341, detection precision 0.7848, correction recall 0.6466, correction precision 0.8368\n",
      "Epoch 0, Step 3720/8882, Total Step 3720, loss 0.07020, detection recall 0.3356, detection precision 0.8132, correction recall 0.6236, correction precision 0.8371\n",
      "Epoch 0, Step 3740/8882, Total Step 3740, loss 0.06210, detection recall 0.3436, detection precision 0.7805, correction recall 0.6586, correction precision 0.8658\n",
      "Epoch 0, Step 3760/8882, Total Step 3760, loss 0.06717, detection recall 0.3281, detection precision 0.7867, correction recall 0.6463, correction precision 0.8372\n",
      "Epoch 0, Step 3780/8882, Total Step 3780, loss 0.06130, detection recall 0.3443, detection precision 0.8150, correction recall 0.6569, correction precision 0.8593\n",
      "Epoch 0, Step 3800/8882, Total Step 3800, loss 0.06772, detection recall 0.3277, detection precision 0.8192, correction recall 0.6215, correction precision 0.8221\n",
      "Epoch 0, Step 3820/8882, Total Step 3820, loss 0.06343, detection recall 0.3647, detection precision 0.8193, correction recall 0.6512, correction precision 0.8634\n",
      "Epoch 0, Step 3840/8882, Total Step 3840, loss 0.07063, detection recall 0.3499, detection precision 0.7651, correction recall 0.6246, correction precision 0.8418\n",
      "Epoch 0, Step 3860/8882, Total Step 3860, loss 0.06238, detection recall 0.3554, detection precision 0.8173, correction recall 0.6578, correction precision 0.8638\n",
      "Epoch 0, Step 3880/8882, Total Step 3880, loss 0.06451, detection recall 0.3542, detection precision 0.7778, correction recall 0.6425, correction precision 0.8513\n",
      "Epoch 0, Step 3900/8882, Total Step 3900, loss 0.06319, detection recall 0.3173, detection precision 0.8086, correction recall 0.6670, correction precision 0.8699\n",
      "Epoch 0, Step 3920/8882, Total Step 3920, loss 0.06446, detection recall 0.3661, detection precision 0.7540, correction recall 0.6395, correction precision 0.8464\n",
      "Epoch 0, Step 3940/8882, Total Step 3940, loss 0.06524, detection recall 0.3442, detection precision 0.7786, correction recall 0.6513, correction precision 0.8642\n",
      "Epoch 0, Step 3960/8882, Total Step 3960, loss 0.06687, detection recall 0.3957, detection precision 0.7619, correction recall 0.6570, correction precision 0.8581\n",
      "Epoch 0, Step 3980/8882, Total Step 3980, loss 0.06428, detection recall 0.3786, detection precision 0.7798, correction recall 0.6581, correction precision 0.8615\n",
      "Epoch 0, Step 4000/8882, Total Step 4000, loss 0.05408, detection recall 0.3697, detection precision 0.7794, correction recall 0.6792, correction precision 0.8677\n",
      "Epoch 0, Step 4020/8882, Total Step 4020, loss 0.05208, detection recall 0.3866, detection precision 0.7621, correction recall 0.7050, correction precision 0.8900\n",
      "Epoch 0, Step 4040/8882, Total Step 4040, loss 0.06182, detection recall 0.3674, detection precision 0.7840, correction recall 0.6744, correction precision 0.8782\n",
      "Epoch 0, Step 4060/8882, Total Step 4060, loss 0.06421, detection recall 0.3426, detection precision 0.7933, correction recall 0.6607, correction precision 0.8668\n",
      "Epoch 0, Step 4080/8882, Total Step 4080, loss 0.06652, detection recall 0.3307, detection precision 0.7822, correction recall 0.6459, correction precision 0.8597\n",
      "Epoch 0, Step 4100/8882, Total Step 4100, loss 0.05621, detection recall 0.3876, detection precision 0.7639, correction recall 0.6701, correction precision 0.8772\n",
      "Epoch 0, Step 4120/8882, Total Step 4120, loss 0.06648, detection recall 0.3429, detection precision 0.7809, correction recall 0.6305, correction precision 0.8419\n",
      "Epoch 0, Step 4140/8882, Total Step 4140, loss 0.06477, detection recall 0.3511, detection precision 0.7651, correction recall 0.6267, correction precision 0.8393\n",
      "Epoch 0, Step 4160/8882, Total Step 4160, loss 0.05739, detection recall 0.3841, detection precision 0.7873, correction recall 0.6843, correction precision 0.8552\n",
      "Epoch 0, Step 4180/8882, Total Step 4180, loss 0.05581, detection recall 0.3546, detection precision 0.7847, correction recall 0.6902, correction precision 0.8641\n",
      "Epoch 0, Step 4200/8882, Total Step 4200, loss 0.05328, detection recall 0.3630, detection precision 0.7833, correction recall 0.6735, correction precision 0.8651\n",
      "Epoch 0, Step 4220/8882, Total Step 4220, loss 0.06398, detection recall 0.3674, detection precision 0.8145, correction recall 0.6478, correction precision 0.8466\n",
      "Epoch 0, Step 4240/8882, Total Step 4240, loss 0.06028, detection recall 0.3703, detection precision 0.7837, correction recall 0.6659, correction precision 0.8547\n",
      "Epoch 0, Step 4260/8882, Total Step 4260, loss 0.06089, detection recall 0.3496, detection precision 0.8302, correction recall 0.6425, correction precision 0.8448\n",
      "Epoch 0, Step 4280/8882, Total Step 4280, loss 0.06332, detection recall 0.3788, detection precision 0.7814, correction recall 0.6505, correction precision 0.8677\n",
      "Epoch 0, Step 4300/8882, Total Step 4300, loss 0.06770, detection recall 0.3569, detection precision 0.8000, correction recall 0.6322, correction precision 0.8420\n",
      "Epoch 0, Step 4320/8882, Total Step 4320, loss 0.05890, detection recall 0.3454, detection precision 0.7841, correction recall 0.6897, correction precision 0.9049\n",
      "Epoch 0, Step 4340/8882, Total Step 4340, loss 0.06315, detection recall 0.3677, detection precision 0.7685, correction recall 0.6578, correction precision 0.8462\n",
      "Epoch 0, Step 4360/8882, Total Step 4360, loss 0.05954, detection recall 0.3774, detection precision 0.8015, correction recall 0.6693, correction precision 0.8671\n",
      "Epoch 0, Step 4380/8882, Total Step 4380, loss 0.05999, detection recall 0.3731, detection precision 0.8171, correction recall 0.6757, correction precision 0.8581\n",
      "Epoch 0, Step 4400/8882, Total Step 4400, loss 0.06312, detection recall 0.3612, detection precision 0.7921, correction recall 0.6851, correction precision 0.8836\n",
      "Epoch 0, Step 4420/8882, Total Step 4420, loss 0.05883, detection recall 0.3642, detection precision 0.7647, correction recall 0.6756, correction precision 0.8868\n",
      "Epoch 0, Step 4440/8882, Total Step 4440, loss 0.06228, detection recall 0.3570, detection precision 0.8030, correction recall 0.6774, correction precision 0.8754\n",
      "Epoch 0, Step 4460/8882, Total Step 4460, loss 0.06021, detection recall 0.3507, detection precision 0.7494, correction recall 0.6775, correction precision 0.8560\n",
      "Epoch 0, Step 4480/8882, Total Step 4480, loss 0.05946, detection recall 0.3488, detection precision 0.7732, correction recall 0.6605, correction precision 0.8672\n",
      "Epoch 0, Step 4500/8882, Total Step 4500, loss 0.06059, detection recall 0.3705, detection precision 0.8058, correction recall 0.6692, correction precision 0.8610\n",
      "Epoch 0, Step 4520/8882, Total Step 4520, loss 0.05702, detection recall 0.3737, detection precision 0.7638, correction recall 0.6936, correction precision 0.8867\n",
      "Epoch 0, Step 4540/8882, Total Step 4540, loss 0.05888, detection recall 0.3959, detection precision 0.7891, correction recall 0.6735, correction precision 0.8836\n",
      "Epoch 0, Step 4560/8882, Total Step 4560, loss 0.05996, detection recall 0.4054, detection precision 0.7938, correction recall 0.6772, correction precision 0.8592\n",
      "Epoch 0, Step 4580/8882, Total Step 4580, loss 0.06020, detection recall 0.3856, detection precision 0.7746, correction recall 0.6778, correction precision 0.8652\n",
      "Epoch 0, Step 4600/8882, Total Step 4600, loss 0.05750, detection recall 0.3804, detection precision 0.8101, correction recall 0.6682, correction precision 0.8617\n",
      "Epoch 0, Step 4620/8882, Total Step 4620, loss 0.05210, detection recall 0.3865, detection precision 0.7652, correction recall 0.6978, correction precision 0.8718\n",
      "Epoch 0, Step 4640/8882, Total Step 4640, loss 0.05751, detection recall 0.3916, detection precision 0.7977, correction recall 0.6953, correction precision 0.8713\n",
      "Epoch 0, Step 4660/8882, Total Step 4660, loss 0.05725, detection recall 0.3747, detection precision 0.7995, correction recall 0.6991, correction precision 0.8717\n",
      "Epoch 0, Step 4680/8882, Total Step 4680, loss 0.05971, detection recall 0.3600, detection precision 0.7824, correction recall 0.6839, correction precision 0.8786\n",
      "Epoch 0, Step 4700/8882, Total Step 4700, loss 0.05597, detection recall 0.4048, detection precision 0.7941, correction recall 0.6644, correction precision 0.8662\n",
      "Epoch 0, Step 4720/8882, Total Step 4720, loss 0.05495, detection recall 0.3455, detection precision 0.8320, correction recall 0.6722, correction precision 0.8586\n",
      "Epoch 0, Step 4740/8882, Total Step 4740, loss 0.05845, detection recall 0.3761, detection precision 0.8232, correction recall 0.6814, correction precision 0.8603\n",
      "Epoch 0, Step 4760/8882, Total Step 4760, loss 0.05543, detection recall 0.3475, detection precision 0.8245, correction recall 0.6715, correction precision 0.8582\n",
      "Epoch 0, Step 4780/8882, Total Step 4780, loss 0.05779, detection recall 0.3791, detection precision 0.8005, correction recall 0.6857, correction precision 0.8548\n",
      "Epoch 0, Step 4800/8882, Total Step 4800, loss 0.05718, detection recall 0.3962, detection precision 0.8114, correction recall 0.6948, correction precision 0.8658\n",
      "Epoch 0, Step 4820/8882, Total Step 4820, loss 0.05217, detection recall 0.3993, detection precision 0.8349, correction recall 0.7097, correction precision 0.9011\n",
      "Epoch 0, Step 4840/8882, Total Step 4840, loss 0.05999, detection recall 0.3673, detection precision 0.7921, correction recall 0.6815, correction precision 0.8546\n",
      "Epoch 0, Step 4860/8882, Total Step 4860, loss 0.06185, detection recall 0.3718, detection precision 0.7806, correction recall 0.6733, correction precision 0.8780\n",
      "Epoch 0, Step 4880/8882, Total Step 4880, loss 0.06383, detection recall 0.3687, detection precision 0.8240, correction recall 0.6761, correction precision 0.8643\n",
      "Epoch 0, Step 4900/8882, Total Step 4900, loss 0.05522, detection recall 0.3960, detection precision 0.7591, correction recall 0.7063, correction precision 0.8819\n",
      "Epoch 0, Step 4920/8882, Total Step 4920, loss 0.04764, detection recall 0.4171, detection precision 0.7928, correction recall 0.7108, correction precision 0.8826\n",
      "Epoch 0, Step 4940/8882, Total Step 4940, loss 0.05427, detection recall 0.3853, detection precision 0.8073, correction recall 0.6959, correction precision 0.8760\n",
      "Epoch 0, Step 4960/8882, Total Step 4960, loss 0.05403, detection recall 0.3893, detection precision 0.8009, correction recall 0.7141, correction precision 0.8831\n",
      "Epoch 0, Step 4980/8882, Total Step 4980, loss 0.05519, detection recall 0.3852, detection precision 0.8309, correction recall 0.6920, correction precision 0.8704\n",
      "Epoch 0, Step 5000/8882, Total Step 5000, loss 0.05529, detection recall 0.3633, detection precision 0.7939, correction recall 0.6913, correction precision 0.8669\n",
      "Epoch 0, Step 5020/8882, Total Step 5020, loss 0.05369, detection recall 0.4025, detection precision 0.7775, correction recall 0.6978, correction precision 0.8706\n",
      "Epoch 0, Step 5040/8882, Total Step 5040, loss 0.05580, detection recall 0.3590, detection precision 0.8089, correction recall 0.7004, correction precision 0.8833\n",
      "Epoch 0, Step 5060/8882, Total Step 5060, loss 0.05154, detection recall 0.4203, detection precision 0.7865, correction recall 0.6972, correction precision 0.8814\n",
      "Epoch 0, Step 5080/8882, Total Step 5080, loss 0.05377, detection recall 0.3887, detection precision 0.7836, correction recall 0.6836, correction precision 0.8569\n",
      "Epoch 0, Step 5100/8882, Total Step 5100, loss 0.04999, detection recall 0.3736, detection precision 0.8543, correction recall 0.7198, correction precision 0.8924\n",
      "Epoch 0, Step 5120/8882, Total Step 5120, loss 0.05734, detection recall 0.3871, detection precision 0.8023, correction recall 0.6853, correction precision 0.8669\n",
      "Epoch 0, Step 5140/8882, Total Step 5140, loss 0.05580, detection recall 0.3796, detection precision 0.7757, correction recall 0.7044, correction precision 0.8773\n",
      "Epoch 0, Step 5160/8882, Total Step 5160, loss 0.05528, detection recall 0.3678, detection precision 0.7937, correction recall 0.6884, correction precision 0.8620\n",
      "Epoch 0, Step 5180/8882, Total Step 5180, loss 0.04932, detection recall 0.4257, detection precision 0.8465, correction recall 0.6947, correction precision 0.8621\n",
      "Epoch 0, Step 5200/8882, Total Step 5200, loss 0.05193, detection recall 0.3943, detection precision 0.8014, correction recall 0.7161, correction precision 0.8964\n",
      "Epoch 0, Step 5220/8882, Total Step 5220, loss 0.04756, detection recall 0.4291, detection precision 0.7957, correction recall 0.7315, correction precision 0.8953\n",
      "Epoch 0, Step 5240/8882, Total Step 5240, loss 0.05194, detection recall 0.3861, detection precision 0.7971, correction recall 0.6936, correction precision 0.8811\n",
      "Epoch 0, Step 5260/8882, Total Step 5260, loss 0.04787, detection recall 0.4402, detection precision 0.7930, correction recall 0.7092, correction precision 0.8690\n",
      "Epoch 0, Step 5280/8882, Total Step 5280, loss 0.05129, detection recall 0.4284, detection precision 0.8266, correction recall 0.7159, correction precision 0.9008\n",
      "Epoch 0, Step 5300/8882, Total Step 5300, loss 0.05508, detection recall 0.3896, detection precision 0.8125, correction recall 0.7159, correction precision 0.8787\n",
      "Epoch 0, Step 5320/8882, Total Step 5320, loss 0.05136, detection recall 0.4184, detection precision 0.8105, correction recall 0.7120, correction precision 0.8903\n",
      "Epoch 0, Step 5340/8882, Total Step 5340, loss 0.04559, detection recall 0.3971, detection precision 0.7924, correction recall 0.7539, correction precision 0.9120\n",
      "Epoch 0, Step 5360/8882, Total Step 5360, loss 0.05406, detection recall 0.3949, detection precision 0.7846, correction recall 0.7046, correction precision 0.8972\n",
      "Epoch 0, Step 5380/8882, Total Step 5380, loss 0.04546, detection recall 0.4209, detection precision 0.7833, correction recall 0.7468, correction precision 0.9019\n",
      "Epoch 0, Step 5400/8882, Total Step 5400, loss 0.05856, detection recall 0.3922, detection precision 0.8499, correction recall 0.6860, correction precision 0.8552\n",
      "Epoch 0, Step 5420/8882, Total Step 5420, loss 0.05820, detection recall 0.3934, detection precision 0.8073, correction recall 0.6862, correction precision 0.8771\n",
      "Epoch 0, Step 5440/8882, Total Step 5440, loss 0.05598, detection recall 0.4105, detection precision 0.7859, correction recall 0.7025, correction precision 0.8710\n",
      "Epoch 0, Step 5460/8882, Total Step 5460, loss 0.05191, detection recall 0.3896, detection precision 0.7827, correction recall 0.7230, correction precision 0.8804\n",
      "Epoch 0, Step 5480/8882, Total Step 5480, loss 0.05088, detection recall 0.4245, detection precision 0.8214, correction recall 0.7072, correction precision 0.8734\n",
      "Epoch 0, Step 5500/8882, Total Step 5500, loss 0.04691, detection recall 0.4294, detection precision 0.7848, correction recall 0.7444, correction precision 0.9046\n",
      "Epoch 0, Step 5520/8882, Total Step 5520, loss 0.05343, detection recall 0.3502, detection precision 0.8342, correction recall 0.7172, correction precision 0.8900\n",
      "Epoch 0, Step 5540/8882, Total Step 5540, loss 0.05038, detection recall 0.3918, detection precision 0.8190, correction recall 0.7175, correction precision 0.8861\n",
      "Epoch 0, Step 5560/8882, Total Step 5560, loss 0.04992, detection recall 0.4155, detection precision 0.7827, correction recall 0.6988, correction precision 0.8643\n",
      "Epoch 0, Step 5580/8882, Total Step 5580, loss 0.05313, detection recall 0.4157, detection precision 0.7780, correction recall 0.7162, correction precision 0.8777\n",
      "Epoch 0, Step 5600/8882, Total Step 5600, loss 0.04878, detection recall 0.3931, detection precision 0.7835, correction recall 0.7368, correction precision 0.9076\n",
      "Epoch 0, Step 5620/8882, Total Step 5620, loss 0.05175, detection recall 0.4443, detection precision 0.8171, correction recall 0.7157, correction precision 0.8886\n",
      "Epoch 0, Step 5640/8882, Total Step 5640, loss 0.04771, detection recall 0.4018, detection precision 0.8062, correction recall 0.7358, correction precision 0.9008\n",
      "Epoch 0, Step 5660/8882, Total Step 5660, loss 0.05384, detection recall 0.3534, detection precision 0.8123, correction recall 0.7175, correction precision 0.8871\n",
      "Epoch 0, Step 5680/8882, Total Step 5680, loss 0.05022, detection recall 0.3991, detection precision 0.7912, correction recall 0.7040, correction precision 0.8663\n",
      "Epoch 0, Step 5700/8882, Total Step 5700, loss 0.04993, detection recall 0.3897, detection precision 0.7740, correction recall 0.7069, correction precision 0.8874\n",
      "Epoch 0, Step 5720/8882, Total Step 5720, loss 0.05133, detection recall 0.4167, detection precision 0.8333, correction recall 0.7078, correction precision 0.8690\n",
      "Epoch 0, Step 5740/8882, Total Step 5740, loss 0.05831, detection recall 0.3993, detection precision 0.7943, correction recall 0.6898, correction precision 0.8733\n",
      "Epoch 0, Step 5760/8882, Total Step 5760, loss 0.05310, detection recall 0.4286, detection precision 0.7869, correction recall 0.7132, correction precision 0.8875\n",
      "Epoch 0, Step 5780/8882, Total Step 5780, loss 0.04929, detection recall 0.4268, detection precision 0.8356, correction recall 0.7389, correction precision 0.8809\n",
      "Epoch 0, Step 5800/8882, Total Step 5800, loss 0.04646, detection recall 0.4258, detection precision 0.8330, correction recall 0.7562, correction precision 0.9169\n",
      "Epoch 0, Step 5820/8882, Total Step 5820, loss 0.04867, detection recall 0.4350, detection precision 0.8315, correction recall 0.7209, correction precision 0.8812\n",
      "Epoch 0, Step 5840/8882, Total Step 5840, loss 0.04834, detection recall 0.3869, detection precision 0.7849, correction recall 0.7257, correction precision 0.8925\n",
      "Epoch 0, Step 5860/8882, Total Step 5860, loss 0.05310, detection recall 0.4161, detection precision 0.7949, correction recall 0.7248, correction precision 0.8975\n",
      "Epoch 0, Step 5880/8882, Total Step 5880, loss 0.04952, detection recall 0.4069, detection precision 0.7614, correction recall 0.7140, correction precision 0.8895\n",
      "Epoch 0, Step 5900/8882, Total Step 5900, loss 0.04682, detection recall 0.4091, detection precision 0.8218, correction recall 0.7406, correction precision 0.8801\n",
      "Epoch 0, Step 5920/8882, Total Step 5920, loss 0.05293, detection recall 0.3618, detection precision 0.8364, correction recall 0.7191, correction precision 0.8889\n",
      "Epoch 0, Step 5940/8882, Total Step 5940, loss 0.05421, detection recall 0.4202, detection precision 0.7713, correction recall 0.7044, correction precision 0.8773\n",
      "Epoch 0, Step 5960/8882, Total Step 5960, loss 0.05054, detection recall 0.3980, detection precision 0.8425, correction recall 0.7193, correction precision 0.8776\n",
      "Epoch 0, Step 5980/8882, Total Step 5980, loss 0.05189, detection recall 0.4011, detection precision 0.8521, correction recall 0.7337, correction precision 0.8913\n",
      "Epoch 0, Step 6000/8882, Total Step 6000, loss 0.04747, detection recall 0.3902, detection precision 0.8065, correction recall 0.7380, correction precision 0.8910\n",
      "Epoch 0, Step 6020/8882, Total Step 6020, loss 0.05337, detection recall 0.3821, detection precision 0.7877, correction recall 0.7087, correction precision 0.8803\n",
      "Epoch 0, Step 6040/8882, Total Step 6040, loss 0.05550, detection recall 0.3888, detection precision 0.8237, correction recall 0.7130, correction precision 0.8857\n",
      "Epoch 0, Step 6060/8882, Total Step 6060, loss 0.04826, detection recall 0.4074, detection precision 0.7668, correction recall 0.7333, correction precision 0.8988\n",
      "Epoch 0, Step 6080/8882, Total Step 6080, loss 0.05363, detection recall 0.4090, detection precision 0.8105, correction recall 0.7166, correction precision 0.8761\n",
      "Epoch 0, Step 6100/8882, Total Step 6100, loss 0.04975, detection recall 0.4156, detection precision 0.8239, correction recall 0.7259, correction precision 0.8838\n",
      "Epoch 0, Step 6120/8882, Total Step 6120, loss 0.05023, detection recall 0.4111, detection precision 0.8056, correction recall 0.7252, correction precision 0.8926\n",
      "Epoch 0, Step 6140/8882, Total Step 6140, loss 0.04758, detection recall 0.4267, detection precision 0.8125, correction recall 0.7309, correction precision 0.8859\n",
      "Epoch 0, Step 6160/8882, Total Step 6160, loss 0.05006, detection recall 0.3974, detection precision 0.7745, correction recall 0.7358, correction precision 0.8822\n",
      "Epoch 0, Step 6180/8882, Total Step 6180, loss 0.04570, detection recall 0.3971, detection precision 0.8548, correction recall 0.7323, correction precision 0.8874\n",
      "Epoch 0, Step 6200/8882, Total Step 6200, loss 0.05088, detection recall 0.3904, detection precision 0.8050, correction recall 0.7386, correction precision 0.8668\n",
      "Epoch 0, Step 6220/8882, Total Step 6220, loss 0.05624, detection recall 0.3865, detection precision 0.7937, correction recall 0.6790, correction precision 0.8699\n",
      "Epoch 0, Step 6240/8882, Total Step 6240, loss 0.04920, detection recall 0.3984, detection precision 0.8262, correction recall 0.7520, correction precision 0.9010\n",
      "Epoch 0, Step 6260/8882, Total Step 6260, loss 0.04527, detection recall 0.4119, detection precision 0.8229, correction recall 0.7508, correction precision 0.9028\n",
      "Epoch 0, Step 6280/8882, Total Step 6280, loss 0.04780, detection recall 0.4187, detection precision 0.8083, correction recall 0.7381, correction precision 0.8826\n",
      "Epoch 0, Step 6300/8882, Total Step 6300, loss 0.04618, detection recall 0.4467, detection precision 0.8292, correction recall 0.7542, correction precision 0.8854\n",
      "Epoch 0, Step 6320/8882, Total Step 6320, loss 0.05287, detection recall 0.4156, detection precision 0.8148, correction recall 0.7200, correction precision 0.8804\n",
      "Epoch 0, Step 6340/8882, Total Step 6340, loss 0.05302, detection recall 0.3958, detection precision 0.8022, correction recall 0.7204, correction precision 0.8807\n",
      "Epoch 0, Step 6360/8882, Total Step 6360, loss 0.06045, detection recall 0.3747, detection precision 0.8329, correction recall 0.6800, correction precision 0.8516\n",
      "Epoch 0, Step 6380/8882, Total Step 6380, loss 0.04642, detection recall 0.4171, detection precision 0.8277, correction recall 0.7328, correction precision 0.8990\n",
      "Epoch 0, Step 6400/8882, Total Step 6400, loss 0.05231, detection recall 0.4061, detection precision 0.7923, correction recall 0.7377, correction precision 0.8830\n",
      "Epoch 0, Step 6420/8882, Total Step 6420, loss 0.04542, detection recall 0.3839, detection precision 0.8249, correction recall 0.7433, correction precision 0.9136\n",
      "Epoch 0, Step 6440/8882, Total Step 6440, loss 0.04877, detection recall 0.4416, detection precision 0.8169, correction recall 0.7386, correction precision 0.8925\n",
      "Epoch 0, Step 6460/8882, Total Step 6460, loss 0.05793, detection recall 0.4057, detection precision 0.8307, correction recall 0.7122, correction precision 0.8706\n",
      "Epoch 0, Step 6480/8882, Total Step 6480, loss 0.04733, detection recall 0.4336, detection precision 0.8116, correction recall 0.7500, correction precision 0.8726\n",
      "Epoch 0, Step 6500/8882, Total Step 6500, loss 0.05141, detection recall 0.4248, detection precision 0.7967, correction recall 0.7235, correction precision 0.8898\n",
      "Epoch 0, Step 6520/8882, Total Step 6520, loss 0.04522, detection recall 0.4186, detection precision 0.8326, correction recall 0.7407, correction precision 0.8967\n",
      "Epoch 0, Step 6540/8882, Total Step 6540, loss 0.04615, detection recall 0.4083, detection precision 0.7799, correction recall 0.7420, correction precision 0.8977\n",
      "Epoch 0, Step 6560/8882, Total Step 6560, loss 0.05698, detection recall 0.3832, detection precision 0.8458, correction recall 0.7183, correction precision 0.8809\n",
      "Epoch 0, Step 6580/8882, Total Step 6580, loss 0.05051, detection recall 0.4281, detection precision 0.8136, correction recall 0.7235, correction precision 0.8830\n",
      "Epoch 0, Step 6600/8882, Total Step 6600, loss 0.04519, detection recall 0.4324, detection precision 0.8280, correction recall 0.7494, correction precision 0.8966\n",
      "Epoch 0, Step 6620/8882, Total Step 6620, loss 0.04000, detection recall 0.4330, detection precision 0.8398, correction recall 0.7891, correction precision 0.9182\n",
      "Epoch 0, Step 6640/8882, Total Step 6640, loss 0.04710, detection recall 0.3925, detection precision 0.8192, correction recall 0.7401, correction precision 0.8918\n",
      "Epoch 0, Step 6660/8882, Total Step 6660, loss 0.04384, detection recall 0.4331, detection precision 0.7992, correction recall 0.7313, correction precision 0.8971\n",
      "Epoch 0, Step 6680/8882, Total Step 6680, loss 0.04626, detection recall 0.4061, detection precision 0.8261, correction recall 0.7368, correction precision 0.8924\n",
      "Epoch 0, Step 6700/8882, Total Step 6700, loss 0.04776, detection recall 0.4079, detection precision 0.8685, correction recall 0.7442, correction precision 0.9012\n",
      "Epoch 0, Step 6720/8882, Total Step 6720, loss 0.04820, detection recall 0.4183, detection precision 0.8166, correction recall 0.7394, correction precision 0.8981\n",
      "Epoch 0, Step 6740/8882, Total Step 6740, loss 0.04380, detection recall 0.4546, detection precision 0.8221, correction recall 0.7858, correction precision 0.9101\n",
      "Epoch 0, Step 6760/8882, Total Step 6760, loss 0.05087, detection recall 0.4074, detection precision 0.7799, correction recall 0.7277, correction precision 0.8895\n",
      "Epoch 0, Step 6780/8882, Total Step 6780, loss 0.04954, detection recall 0.3965, detection precision 0.8545, correction recall 0.7342, correction precision 0.8868\n",
      "Epoch 0, Step 6800/8882, Total Step 6800, loss 0.04242, detection recall 0.4417, detection precision 0.8156, correction recall 0.7714, correction precision 0.8979\n",
      "Epoch 0, Step 6820/8882, Total Step 6820, loss 0.04543, detection recall 0.4123, detection precision 0.8264, correction recall 0.7336, correction precision 0.8896\n",
      "Epoch 0, Step 6840/8882, Total Step 6840, loss 0.04215, detection recall 0.4518, detection precision 0.8122, correction recall 0.7435, correction precision 0.8827\n",
      "Epoch 0, Step 6860/8882, Total Step 6860, loss 0.04404, detection recall 0.4253, detection precision 0.8397, correction recall 0.7652, correction precision 0.9006\n",
      "Epoch 0, Step 6880/8882, Total Step 6880, loss 0.04415, detection recall 0.4530, detection precision 0.8136, correction recall 0.7535, correction precision 0.9064\n",
      "Epoch 0, Step 6900/8882, Total Step 6900, loss 0.04350, detection recall 0.4011, detection precision 0.8372, correction recall 0.7648, correction precision 0.8946\n",
      "Epoch 0, Step 6920/8882, Total Step 6920, loss 0.04637, detection recall 0.4172, detection precision 0.8436, correction recall 0.7658, correction precision 0.9226\n",
      "Epoch 0, Step 6940/8882, Total Step 6940, loss 0.04632, detection recall 0.4262, detection precision 0.8004, correction recall 0.7438, correction precision 0.8843\n",
      "Epoch 0, Step 6960/8882, Total Step 6960, loss 0.04415, detection recall 0.4298, detection precision 0.8369, correction recall 0.7519, correction precision 0.8780\n",
      "Epoch 0, Step 6980/8882, Total Step 6980, loss 0.04184, detection recall 0.4275, detection precision 0.8237, correction recall 0.7779, correction precision 0.9171\n",
      "Epoch 0, Step 7000/8882, Total Step 7000, loss 0.04345, detection recall 0.4599, detection precision 0.8248, correction recall 0.7640, correction precision 0.8992\n",
      "Epoch 0, Step 7020/8882, Total Step 7020, loss 0.03952, detection recall 0.4367, detection precision 0.8568, correction recall 0.7788, correction precision 0.8987\n",
      "Epoch 0, Step 7040/8882, Total Step 7040, loss 0.04487, detection recall 0.4100, detection precision 0.7627, correction recall 0.7574, correction precision 0.9011\n",
      "Epoch 0, Step 7060/8882, Total Step 7060, loss 0.04409, detection recall 0.4206, detection precision 0.8258, correction recall 0.7667, correction precision 0.9032\n",
      "Epoch 0, Step 7080/8882, Total Step 7080, loss 0.04155, detection recall 0.4002, detection precision 0.8365, correction recall 0.7664, correction precision 0.8860\n",
      "Epoch 0, Step 7100/8882, Total Step 7100, loss 0.04839, detection recall 0.4151, detection precision 0.8064, correction recall 0.7470, correction precision 0.8869\n",
      "Epoch 0, Step 7120/8882, Total Step 7120, loss 0.04459, detection recall 0.3856, detection precision 0.8446, correction recall 0.7414, correction precision 0.8828\n",
      "Epoch 0, Step 7140/8882, Total Step 7140, loss 0.04163, detection recall 0.4323, detection precision 0.7966, correction recall 0.7656, correction precision 0.8949\n",
      "Epoch 0, Step 7160/8882, Total Step 7160, loss 0.04381, detection recall 0.4054, detection precision 0.7877, correction recall 0.7218, correction precision 0.8709\n",
      "Epoch 0, Step 7180/8882, Total Step 7180, loss 0.04604, detection recall 0.3993, detection precision 0.8280, correction recall 0.7345, correction precision 0.8771\n",
      "Epoch 0, Step 7200/8882, Total Step 7200, loss 0.03662, detection recall 0.4326, detection precision 0.8480, correction recall 0.7652, correction precision 0.9056\n",
      "Epoch 0, Step 7220/8882, Total Step 7220, loss 0.03692, detection recall 0.4426, detection precision 0.8271, correction recall 0.7826, correction precision 0.9035\n",
      "Epoch 0, Step 7240/8882, Total Step 7240, loss 0.05084, detection recall 0.4034, detection precision 0.8137, correction recall 0.7410, correction precision 0.8983\n",
      "Epoch 0, Step 7260/8882, Total Step 7260, loss 0.04451, detection recall 0.3935, detection precision 0.7944, correction recall 0.7465, correction precision 0.9110\n",
      "Epoch 0, Step 7280/8882, Total Step 7280, loss 0.04045, detection recall 0.4268, detection precision 0.8221, correction recall 0.7601, correction precision 0.8940\n",
      "Epoch 0, Step 7300/8882, Total Step 7300, loss 0.04416, detection recall 0.4447, detection precision 0.8148, correction recall 0.7606, correction precision 0.8882\n",
      "Epoch 0, Step 7320/8882, Total Step 7320, loss 0.05172, detection recall 0.4066, detection precision 0.8105, correction recall 0.7301, correction precision 0.8813\n",
      "Epoch 0, Step 7340/8882, Total Step 7340, loss 0.05255, detection recall 0.4204, detection precision 0.7930, correction recall 0.7113, correction precision 0.8721\n",
      "Epoch 0, Step 7360/8882, Total Step 7360, loss 0.04568, detection recall 0.4142, detection precision 0.8322, correction recall 0.7609, correction precision 0.8926\n",
      "Epoch 0, Step 7380/8882, Total Step 7380, loss 0.04355, detection recall 0.4122, detection precision 0.8413, correction recall 0.7744, correction precision 0.9171\n",
      "Epoch 0, Step 7400/8882, Total Step 7400, loss 0.04630, detection recall 0.4084, detection precision 0.7906, correction recall 0.7483, correction precision 0.9016\n",
      "Epoch 0, Step 7420/8882, Total Step 7420, loss 0.04858, detection recall 0.4019, detection precision 0.7780, correction recall 0.7567, correction precision 0.8959\n",
      "Epoch 0, Step 7440/8882, Total Step 7440, loss 0.04602, detection recall 0.4071, detection precision 0.8326, correction recall 0.7445, correction precision 0.8949\n",
      "Epoch 0, Step 7460/8882, Total Step 7460, loss 0.04989, detection recall 0.4260, detection precision 0.8602, correction recall 0.7444, correction precision 0.8848\n",
      "Epoch 0, Step 7480/8882, Total Step 7480, loss 0.04346, detection recall 0.3980, detection precision 0.8275, correction recall 0.7668, correction precision 0.8965\n",
      "Epoch 0, Step 7500/8882, Total Step 7500, loss 0.04155, detection recall 0.4331, detection precision 0.8651, correction recall 0.7648, correction precision 0.9025\n",
      "Epoch 0, Step 7520/8882, Total Step 7520, loss 0.04103, detection recall 0.4281, detection precision 0.8581, correction recall 0.7730, correction precision 0.9065\n",
      "Epoch 0, Step 7540/8882, Total Step 7540, loss 0.04405, detection recall 0.4742, detection precision 0.8440, correction recall 0.7674, correction precision 0.8987\n",
      "Epoch 0, Step 7560/8882, Total Step 7560, loss 0.03955, detection recall 0.4599, detection precision 0.8409, correction recall 0.7853, correction precision 0.9218\n",
      "Epoch 0, Step 7580/8882, Total Step 7580, loss 0.04558, detection recall 0.4040, detection precision 0.7663, correction recall 0.7458, correction precision 0.9143\n",
      "Epoch 0, Step 7600/8882, Total Step 7600, loss 0.03821, detection recall 0.4282, detection precision 0.8303, correction recall 0.7748, correction precision 0.9046\n",
      "Epoch 0, Step 7620/8882, Total Step 7620, loss 0.05012, detection recall 0.4018, detection precision 0.8467, correction recall 0.7402, correction precision 0.8757\n",
      "Epoch 0, Step 7640/8882, Total Step 7640, loss 0.04709, detection recall 0.4541, detection precision 0.8286, correction recall 0.7536, correction precision 0.8766\n",
      "Epoch 0, Step 7660/8882, Total Step 7660, loss 0.04232, detection recall 0.4435, detection precision 0.8493, correction recall 0.7683, correction precision 0.9059\n",
      "Epoch 0, Step 7680/8882, Total Step 7680, loss 0.04105, detection recall 0.4240, detection precision 0.8396, correction recall 0.7791, correction precision 0.9188\n",
      "Epoch 0, Step 7700/8882, Total Step 7700, loss 0.03573, detection recall 0.4635, detection precision 0.8713, correction recall 0.7901, correction precision 0.9179\n",
      "Epoch 0, Step 7720/8882, Total Step 7720, loss 0.04332, detection recall 0.4442, detection precision 0.8541, correction recall 0.7645, correction precision 0.9037\n",
      "Epoch 0, Step 7740/8882, Total Step 7740, loss 0.04822, detection recall 0.4060, detection precision 0.8048, correction recall 0.7478, correction precision 0.8977\n",
      "Epoch 0, Step 7760/8882, Total Step 7760, loss 0.04404, detection recall 0.4451, detection precision 0.8368, correction recall 0.7659, correction precision 0.8902\n",
      "Epoch 0, Step 7780/8882, Total Step 7780, loss 0.04191, detection recall 0.4453, detection precision 0.8275, correction recall 0.7635, correction precision 0.8882\n",
      "Epoch 0, Step 7800/8882, Total Step 7800, loss 0.03825, detection recall 0.4408, detection precision 0.8482, correction recall 0.7768, correction precision 0.9054\n",
      "Epoch 0, Step 7820/8882, Total Step 7820, loss 0.04566, detection recall 0.4020, detection precision 0.8500, correction recall 0.7466, correction precision 0.9120\n",
      "Epoch 0, Step 7840/8882, Total Step 7840, loss 0.03757, detection recall 0.4411, detection precision 0.8248, correction recall 0.7829, correction precision 0.9097\n",
      "Epoch 0, Step 7860/8882, Total Step 7860, loss 0.04397, detection recall 0.4365, detection precision 0.8116, correction recall 0.7584, correction precision 0.9068\n",
      "Epoch 0, Step 7880/8882, Total Step 7880, loss 0.04323, detection recall 0.4295, detection precision 0.8426, correction recall 0.7701, correction precision 0.9068\n",
      "Epoch 0, Step 7900/8882, Total Step 7900, loss 0.04233, detection recall 0.4088, detection precision 0.8221, correction recall 0.7713, correction precision 0.9085\n",
      "Epoch 0, Step 7920/8882, Total Step 7920, loss 0.04047, detection recall 0.4382, detection precision 0.8411, correction recall 0.7792, correction precision 0.9133\n",
      "Epoch 0, Step 7940/8882, Total Step 7940, loss 0.04589, detection recall 0.4430, detection precision 0.8122, correction recall 0.7618, correction precision 0.8910\n",
      "Epoch 0, Step 7960/8882, Total Step 7960, loss 0.04132, detection recall 0.4319, detection precision 0.8647, correction recall 0.7829, correction precision 0.9111\n",
      "Epoch 0, Step 7980/8882, Total Step 7980, loss 0.04106, detection recall 0.4221, detection precision 0.8462, correction recall 0.7675, correction precision 0.9211\n",
      "Epoch 0, Step 8000/8882, Total Step 8000, loss 0.04059, detection recall 0.4234, detection precision 0.8664, correction recall 0.7736, correction precision 0.9075\n",
      "Epoch 0, Step 8020/8882, Total Step 8020, loss 0.04377, detection recall 0.4322, detection precision 0.8061, correction recall 0.7779, correction precision 0.9000\n",
      "Epoch 0, Step 8040/8882, Total Step 8040, loss 0.04529, detection recall 0.3891, detection precision 0.8278, correction recall 0.7594, correction precision 0.8931\n",
      "Epoch 0, Step 8060/8882, Total Step 8060, loss 0.03576, detection recall 0.4540, detection precision 0.8367, correction recall 0.7774, correction precision 0.8977\n",
      "Epoch 0, Step 8080/8882, Total Step 8080, loss 0.04285, detection recall 0.4144, detection precision 0.8160, correction recall 0.7511, correction precision 0.8742\n",
      "Epoch 0, Step 8100/8882, Total Step 8100, loss 0.04180, detection recall 0.4732, detection precision 0.8446, correction recall 0.7623, correction precision 0.8963\n",
      "Epoch 0, Step 8120/8882, Total Step 8120, loss 0.04442, detection recall 0.4350, detection precision 0.8388, correction recall 0.7661, correction precision 0.9040\n",
      "Epoch 0, Step 8140/8882, Total Step 8140, loss 0.04340, detection recall 0.4448, detection precision 0.8409, correction recall 0.7574, correction precision 0.8988\n",
      "Epoch 0, Step 8160/8882, Total Step 8160, loss 0.04478, detection recall 0.4120, detection precision 0.8133, correction recall 0.7641, correction precision 0.9130\n",
      "Epoch 0, Step 8180/8882, Total Step 8180, loss 0.04538, detection recall 0.4411, detection precision 0.8483, correction recall 0.7544, correction precision 0.9005\n",
      "Epoch 0, Step 8200/8882, Total Step 8200, loss 0.04416, detection recall 0.4307, detection precision 0.8545, correction recall 0.7606, correction precision 0.9121\n",
      "Epoch 0, Step 8220/8882, Total Step 8220, loss 0.04255, detection recall 0.4411, detection precision 0.8618, correction recall 0.7497, correction precision 0.8895\n",
      "Epoch 0, Step 8240/8882, Total Step 8240, loss 0.03593, detection recall 0.4684, detection precision 0.8291, correction recall 0.7780, correction precision 0.9080\n",
      "Epoch 0, Step 8260/8882, Total Step 8260, loss 0.04248, detection recall 0.4173, detection precision 0.8246, correction recall 0.7725, correction precision 0.9016\n",
      "Epoch 0, Step 8280/8882, Total Step 8280, loss 0.04501, detection recall 0.4314, detection precision 0.8211, correction recall 0.7577, correction precision 0.8862\n",
      "Epoch 0, Step 8300/8882, Total Step 8300, loss 0.04212, detection recall 0.4470, detection precision 0.8100, correction recall 0.7804, correction precision 0.9087\n",
      "Epoch 0, Step 8320/8882, Total Step 8320, loss 0.04248, detection recall 0.4262, detection precision 0.8571, correction recall 0.7781, correction precision 0.8956\n",
      "Epoch 0, Step 8340/8882, Total Step 8340, loss 0.04169, detection recall 0.4498, detection precision 0.7953, correction recall 0.7872, correction precision 0.9213\n",
      "Epoch 0, Step 8360/8882, Total Step 8360, loss 0.04022, detection recall 0.4360, detection precision 0.8291, correction recall 0.7652, correction precision 0.8996\n",
      "Epoch 0, Step 8380/8882, Total Step 8380, loss 0.03983, detection recall 0.4566, detection precision 0.8654, correction recall 0.7723, correction precision 0.9085\n",
      "Epoch 0, Step 8400/8882, Total Step 8400, loss 0.04401, detection recall 0.4305, detection precision 0.8000, correction recall 0.7534, correction precision 0.9069\n",
      "Epoch 0, Step 8420/8882, Total Step 8420, loss 0.04201, detection recall 0.4586, detection precision 0.8454, correction recall 0.7696, correction precision 0.8866\n",
      "Epoch 0, Step 8440/8882, Total Step 8440, loss 0.04132, detection recall 0.4456, detection precision 0.8237, correction recall 0.7688, correction precision 0.8978\n",
      "Epoch 0, Step 8460/8882, Total Step 8460, loss 0.04303, detection recall 0.4392, detection precision 0.8624, correction recall 0.7503, correction precision 0.8978\n",
      "Epoch 0, Step 8480/8882, Total Step 8480, loss 0.04038, detection recall 0.4431, detection precision 0.8251, correction recall 0.7657, correction precision 0.9106\n",
      "Epoch 0, Step 8500/8882, Total Step 8500, loss 0.04056, detection recall 0.4581, detection precision 0.8710, correction recall 0.7670, correction precision 0.8980\n",
      "Epoch 0, Step 8520/8882, Total Step 8520, loss 0.04169, detection recall 0.4730, detection precision 0.8350, correction recall 0.7950, correction precision 0.9051\n",
      "Epoch 0, Step 8540/8882, Total Step 8540, loss 0.03889, detection recall 0.4321, detection precision 0.8000, correction recall 0.7773, correction precision 0.8960\n",
      "Epoch 0, Step 8560/8882, Total Step 8560, loss 0.03934, detection recall 0.4467, detection precision 0.8432, correction recall 0.7699, correction precision 0.9074\n",
      "Epoch 0, Step 8580/8882, Total Step 8580, loss 0.04342, detection recall 0.4422, detection precision 0.8245, correction recall 0.7517, correction precision 0.8911\n",
      "Epoch 0, Step 8600/8882, Total Step 8600, loss 0.04607, detection recall 0.4403, detection precision 0.8631, correction recall 0.7523, correction precision 0.8871\n",
      "Epoch 0, Step 8620/8882, Total Step 8620, loss 0.03638, detection recall 0.4366, detection precision 0.8684, correction recall 0.7982, correction precision 0.9165\n",
      "Epoch 0, Step 8640/8882, Total Step 8640, loss 0.03866, detection recall 0.4743, detection precision 0.8185, correction recall 0.7952, correction precision 0.9019\n",
      "Epoch 0, Step 8660/8882, Total Step 8660, loss 0.04133, detection recall 0.4709, detection precision 0.7914, correction recall 0.7763, correction precision 0.9060\n",
      "Epoch 0, Step 8680/8882, Total Step 8680, loss 0.04327, detection recall 0.4244, detection precision 0.8180, correction recall 0.7678, correction precision 0.8905\n",
      "Epoch 0, Step 8700/8882, Total Step 8700, loss 0.03656, detection recall 0.4325, detection precision 0.8146, correction recall 0.7954, correction precision 0.9194\n",
      "Epoch 0, Step 8720/8882, Total Step 8720, loss 0.04532, detection recall 0.4234, detection precision 0.8264, correction recall 0.7601, correction precision 0.9024\n",
      "Epoch 0, Step 8740/8882, Total Step 8740, loss 0.04180, detection recall 0.4455, detection precision 0.8165, correction recall 0.7844, correction precision 0.9048\n",
      "Epoch 0, Step 8760/8882, Total Step 8760, loss 0.04039, detection recall 0.4184, detection precision 0.8405, correction recall 0.7676, correction precision 0.9027\n",
      "Epoch 0, Step 8780/8882, Total Step 8780, loss 0.04280, detection recall 0.4379, detection precision 0.8273, correction recall 0.7867, correction precision 0.9123\n",
      "Epoch 0, Step 8800/8882, Total Step 8800, loss 0.03811, detection recall 0.4512, detection precision 0.8274, correction recall 0.7800, correction precision 0.9101\n",
      "Epoch 0, Step 8820/8882, Total Step 8820, loss 0.03895, detection recall 0.4606, detection precision 0.8263, correction recall 0.7894, correction precision 0.9199\n",
      "Epoch 0, Step 8840/8882, Total Step 8840, loss 0.03940, detection recall 0.4666, detection precision 0.8652, correction recall 0.7714, correction precision 0.8868\n",
      "Epoch 0, Step 8860/8882, Total Step 8860, loss 0.04447, detection recall 0.4615, detection precision 0.8157, correction recall 0.7774, correction precision 0.9075\n",
      "Epoch 0, Step 8880/8882, Total Step 8880, loss 0.03871, detection recall 0.4527, detection precision 0.8481, correction recall 0.7894, correction precision 0.9128\n",
      "Epoch 1, Step 18/8882, Total Step 8900, loss 0.03398, detection recall 0.4446, detection precision 0.8420, correction recall 0.8137, correction precision 0.9307\n",
      "Epoch 1, Step 38/8882, Total Step 8920, loss 0.03274, detection recall 0.4436, detection precision 0.8473, correction recall 0.8171, correction precision 0.9337\n",
      "Epoch 1, Step 58/8882, Total Step 8940, loss 0.02949, detection recall 0.4155, detection precision 0.8548, correction recall 0.8387, correction precision 0.9362\n",
      "Epoch 1, Step 78/8882, Total Step 8960, loss 0.02898, detection recall 0.4673, detection precision 0.8734, correction recall 0.8205, correction precision 0.9226\n",
      "Epoch 1, Step 98/8882, Total Step 8980, loss 0.03142, detection recall 0.4326, detection precision 0.8414, correction recall 0.8086, correction precision 0.9201\n",
      "Epoch 1, Step 118/8882, Total Step 9000, loss 0.03282, detection recall 0.4273, detection precision 0.8689, correction recall 0.8055, correction precision 0.9121\n",
      "Epoch 1, Step 138/8882, Total Step 9020, loss 0.03038, detection recall 0.4424, detection precision 0.8457, correction recall 0.8461, correction precision 0.9335\n",
      "Epoch 1, Step 158/8882, Total Step 9040, loss 0.03090, detection recall 0.4782, detection precision 0.8356, correction recall 0.8264, correction precision 0.9271\n",
      "Epoch 1, Step 178/8882, Total Step 9060, loss 0.03252, detection recall 0.4603, detection precision 0.8202, correction recall 0.8152, correction precision 0.9374\n",
      "Epoch 1, Step 198/8882, Total Step 9080, loss 0.03281, detection recall 0.4289, detection precision 0.8330, correction recall 0.8049, correction precision 0.9276\n",
      "Epoch 1, Step 218/8882, Total Step 9100, loss 0.02930, detection recall 0.4435, detection precision 0.8614, correction recall 0.8222, correction precision 0.9213\n",
      "Epoch 1, Step 238/8882, Total Step 9120, loss 0.02718, detection recall 0.4723, detection precision 0.8609, correction recall 0.8473, correction precision 0.9399\n",
      "Epoch 1, Step 258/8882, Total Step 9140, loss 0.03352, detection recall 0.4451, detection precision 0.8333, correction recall 0.8319, correction precision 0.9209\n",
      "Epoch 1, Step 278/8882, Total Step 9160, loss 0.02979, detection recall 0.4396, detection precision 0.9023, correction recall 0.8184, correction precision 0.9296\n",
      "Epoch 1, Step 298/8882, Total Step 9180, loss 0.03299, detection recall 0.4413, detection precision 0.8369, correction recall 0.8089, correction precision 0.9199\n",
      "Epoch 1, Step 318/8882, Total Step 9200, loss 0.03394, detection recall 0.4426, detection precision 0.8200, correction recall 0.8168, correction precision 0.9308\n",
      "Epoch 1, Step 338/8882, Total Step 9220, loss 0.03214, detection recall 0.4222, detection precision 0.8407, correction recall 0.8156, correction precision 0.9095\n",
      "Epoch 1, Step 358/8882, Total Step 9240, loss 0.03411, detection recall 0.4302, detection precision 0.8296, correction recall 0.8147, correction precision 0.9250\n",
      "Epoch 1, Step 378/8882, Total Step 9260, loss 0.02999, detection recall 0.4551, detection precision 0.8473, correction recall 0.8337, correction precision 0.9275\n",
      "Epoch 1, Step 398/8882, Total Step 9280, loss 0.03385, detection recall 0.4646, detection precision 0.8644, correction recall 0.8259, correction precision 0.9267\n",
      "Epoch 1, Step 418/8882, Total Step 9300, loss 0.02789, detection recall 0.4381, detection precision 0.8410, correction recall 0.8354, correction precision 0.9223\n",
      "Epoch 1, Step 438/8882, Total Step 9320, loss 0.03368, detection recall 0.4400, detection precision 0.8480, correction recall 0.8256, correction precision 0.9196\n",
      "Epoch 1, Step 458/8882, Total Step 9340, loss 0.02809, detection recall 0.4517, detection precision 0.8289, correction recall 0.8247, correction precision 0.9291\n",
      "Epoch 1, Step 478/8882, Total Step 9360, loss 0.02874, detection recall 0.4932, detection precision 0.8569, correction recall 0.8138, correction precision 0.9173\n",
      "Epoch 1, Step 498/8882, Total Step 9380, loss 0.02549, detection recall 0.4736, detection precision 0.8560, correction recall 0.8552, correction precision 0.9293\n",
      "Epoch 1, Step 518/8882, Total Step 9400, loss 0.03077, detection recall 0.4453, detection precision 0.8466, correction recall 0.8232, correction precision 0.9266\n",
      "Epoch 1, Step 538/8882, Total Step 9420, loss 0.03091, detection recall 0.4539, detection precision 0.8347, correction recall 0.8292, correction precision 0.9283\n",
      "Epoch 1, Step 558/8882, Total Step 9440, loss 0.03039, detection recall 0.4568, detection precision 0.8204, correction recall 0.8295, correction precision 0.9171\n",
      "Epoch 1, Step 578/8882, Total Step 9460, loss 0.03019, detection recall 0.4858, detection precision 0.8218, correction recall 0.8165, correction precision 0.9127\n",
      "Epoch 1, Step 598/8882, Total Step 9480, loss 0.02987, detection recall 0.4519, detection precision 0.8594, correction recall 0.8275, correction precision 0.9240\n",
      "Epoch 1, Step 618/8882, Total Step 9500, loss 0.02934, detection recall 0.4431, detection precision 0.8101, correction recall 0.8376, correction precision 0.9323\n",
      "Epoch 1, Step 638/8882, Total Step 9520, loss 0.02571, detection recall 0.4541, detection precision 0.8665, correction recall 0.8567, correction precision 0.9268\n",
      "Epoch 1, Step 658/8882, Total Step 9540, loss 0.02873, detection recall 0.4418, detection precision 0.8373, correction recall 0.8429, correction precision 0.9337\n",
      "Epoch 1, Step 678/8882, Total Step 9560, loss 0.02908, detection recall 0.4679, detection precision 0.8303, correction recall 0.8358, correction precision 0.9184\n",
      "Epoch 1, Step 698/8882, Total Step 9580, loss 0.02860, detection recall 0.4441, detection precision 0.8706, correction recall 0.8367, correction precision 0.9257\n",
      "Epoch 1, Step 718/8882, Total Step 9600, loss 0.02764, detection recall 0.4674, detection precision 0.8652, correction recall 0.8511, correction precision 0.9457\n",
      "Epoch 1, Step 738/8882, Total Step 9620, loss 0.02980, detection recall 0.4499, detection precision 0.8178, correction recall 0.8369, correction precision 0.9412\n",
      "Epoch 1, Step 758/8882, Total Step 9640, loss 0.03033, detection recall 0.4824, detection precision 0.8838, correction recall 0.8324, correction precision 0.9257\n",
      "Epoch 1, Step 778/8882, Total Step 9660, loss 0.02418, detection recall 0.4564, detection precision 0.8413, correction recall 0.8630, correction precision 0.9454\n",
      "Epoch 1, Step 798/8882, Total Step 9680, loss 0.03184, detection recall 0.4542, detection precision 0.8553, correction recall 0.8181, correction precision 0.9306\n",
      "Epoch 1, Step 818/8882, Total Step 9700, loss 0.03056, detection recall 0.4576, detection precision 0.8402, correction recall 0.8225, correction precision 0.9155\n",
      "Epoch 1, Step 838/8882, Total Step 9720, loss 0.03015, detection recall 0.4689, detection precision 0.8704, correction recall 0.8222, correction precision 0.9195\n",
      "Epoch 1, Step 858/8882, Total Step 9740, loss 0.02713, detection recall 0.4665, detection precision 0.8708, correction recall 0.8471, correction precision 0.9279\n",
      "Epoch 1, Step 878/8882, Total Step 9760, loss 0.02724, detection recall 0.4850, detection precision 0.8516, correction recall 0.8365, correction precision 0.9216\n",
      "Epoch 1, Step 898/8882, Total Step 9780, loss 0.02846, detection recall 0.4693, detection precision 0.8434, correction recall 0.8391, correction precision 0.9341\n",
      "Epoch 1, Step 918/8882, Total Step 9800, loss 0.02924, detection recall 0.4804, detection precision 0.8720, correction recall 0.8309, correction precision 0.9428\n",
      "Epoch 1, Step 938/8882, Total Step 9820, loss 0.02926, detection recall 0.4350, detection precision 0.8622, correction recall 0.8285, correction precision 0.9237\n",
      "Epoch 1, Step 958/8882, Total Step 9840, loss 0.03213, detection recall 0.4704, detection precision 0.8437, correction recall 0.8034, correction precision 0.9194\n",
      "Epoch 1, Step 978/8882, Total Step 9860, loss 0.03409, detection recall 0.4407, detection precision 0.8351, correction recall 0.8128, correction precision 0.9121\n",
      "Epoch 1, Step 998/8882, Total Step 9880, loss 0.02793, detection recall 0.4322, detection precision 0.8376, correction recall 0.8324, correction precision 0.9252\n",
      "Epoch 1, Step 1018/8882, Total Step 9900, loss 0.02922, detection recall 0.4664, detection precision 0.8560, correction recall 0.8217, correction precision 0.9338\n",
      "Epoch 1, Step 1038/8882, Total Step 9920, loss 0.03053, detection recall 0.4617, detection precision 0.8613, correction recall 0.8255, correction precision 0.9117\n",
      "Epoch 1, Step 1058/8882, Total Step 9940, loss 0.02930, detection recall 0.4435, detection precision 0.8421, correction recall 0.8226, correction precision 0.9252\n",
      "Epoch 1, Step 1078/8882, Total Step 9960, loss 0.03089, detection recall 0.4955, detection precision 0.8500, correction recall 0.8195, correction precision 0.9149\n",
      "Epoch 1, Step 1098/8882, Total Step 9980, loss 0.02638, detection recall 0.4670, detection precision 0.8545, correction recall 0.8466, correction precision 0.9253\n",
      "Epoch 1, Step 1118/8882, Total Step 10000, loss 0.02831, detection recall 0.4565, detection precision 0.8400, correction recall 0.8467, correction precision 0.9343\n",
      "Epoch 1, Step 1138/8882, Total Step 10020, loss 0.02590, detection recall 0.4788, detection precision 0.8672, correction recall 0.8431, correction precision 0.9412\n",
      "Epoch 1, Step 1158/8882, Total Step 10040, loss 0.03185, detection recall 0.4333, detection precision 0.8256, correction recall 0.8335, correction precision 0.9208\n",
      "Epoch 1, Step 1178/8882, Total Step 10060, loss 0.02827, detection recall 0.4390, detection precision 0.8524, correction recall 0.8490, correction precision 0.9396\n",
      "Epoch 1, Step 1198/8882, Total Step 10080, loss 0.02921, detection recall 0.4802, detection precision 0.8602, correction recall 0.8275, correction precision 0.9194\n",
      "Epoch 1, Step 1218/8882, Total Step 10100, loss 0.02923, detection recall 0.4667, detection precision 0.8787, correction recall 0.8373, correction precision 0.9239\n",
      "Epoch 1, Step 1238/8882, Total Step 10120, loss 0.02984, detection recall 0.4429, detection precision 0.8124, correction recall 0.8215, correction precision 0.9207\n",
      "Epoch 1, Step 1258/8882, Total Step 10140, loss 0.03163, detection recall 0.4727, detection precision 0.8569, correction recall 0.8309, correction precision 0.9280\n",
      "Epoch 1, Step 1278/8882, Total Step 10160, loss 0.02589, detection recall 0.4713, detection precision 0.8513, correction recall 0.8581, correction precision 0.9406\n",
      "Epoch 1, Step 1298/8882, Total Step 10180, loss 0.02604, detection recall 0.4788, detection precision 0.8782, correction recall 0.8545, correction precision 0.9407\n",
      "Epoch 1, Step 1318/8882, Total Step 10200, loss 0.02718, detection recall 0.4656, detection precision 0.8607, correction recall 0.8503, correction precision 0.9377\n",
      "Epoch 1, Step 1338/8882, Total Step 10220, loss 0.02862, detection recall 0.4693, detection precision 0.8194, correction recall 0.8398, correction precision 0.9249\n",
      "Epoch 1, Step 1358/8882, Total Step 10240, loss 0.03029, detection recall 0.4946, detection precision 0.8537, correction recall 0.8348, correction precision 0.9264\n",
      "Epoch 1, Step 1378/8882, Total Step 10260, loss 0.02815, detection recall 0.4527, detection precision 0.8357, correction recall 0.8331, correction precision 0.9236\n",
      "Epoch 1, Step 1398/8882, Total Step 10280, loss 0.02873, detection recall 0.4325, detection precision 0.8427, correction recall 0.8385, correction precision 0.9289\n",
      "Epoch 1, Step 1418/8882, Total Step 10300, loss 0.02871, detection recall 0.4601, detection precision 0.8364, correction recall 0.8428, correction precision 0.9332\n",
      "Epoch 1, Step 1438/8882, Total Step 10320, loss 0.03026, detection recall 0.4659, detection precision 0.8384, correction recall 0.8216, correction precision 0.9004\n",
      "Epoch 1, Step 1458/8882, Total Step 10340, loss 0.02698, detection recall 0.4710, detection precision 0.8474, correction recall 0.8437, correction precision 0.9299\n",
      "Epoch 1, Step 1478/8882, Total Step 10360, loss 0.02611, detection recall 0.4578, detection precision 0.8577, correction recall 0.8503, correction precision 0.9364\n",
      "Epoch 1, Step 1498/8882, Total Step 10380, loss 0.02982, detection recall 0.4741, detection precision 0.8716, correction recall 0.8401, correction precision 0.9165\n",
      "Epoch 1, Step 1518/8882, Total Step 10400, loss 0.03050, detection recall 0.4794, detection precision 0.8277, correction recall 0.8416, correction precision 0.9327\n",
      "Epoch 1, Step 1538/8882, Total Step 10420, loss 0.03336, detection recall 0.4648, detection precision 0.8684, correction recall 0.8011, correction precision 0.8958\n",
      "Epoch 1, Step 1558/8882, Total Step 10440, loss 0.02822, detection recall 0.4884, detection precision 0.8665, correction recall 0.8426, correction precision 0.9381\n",
      "Epoch 1, Step 1578/8882, Total Step 10460, loss 0.02786, detection recall 0.4634, detection precision 0.8498, correction recall 0.8351, correction precision 0.9281\n",
      "Epoch 1, Step 1598/8882, Total Step 10480, loss 0.02624, detection recall 0.4444, detection precision 0.8386, correction recall 0.8533, correction precision 0.9389\n",
      "Epoch 1, Step 1618/8882, Total Step 10500, loss 0.02481, detection recall 0.4797, detection precision 0.8383, correction recall 0.8646, correction precision 0.9307\n",
      "Epoch 1, Step 1638/8882, Total Step 10520, loss 0.03040, detection recall 0.4734, detection precision 0.8583, correction recall 0.8437, correction precision 0.9336\n",
      "Epoch 1, Step 1658/8882, Total Step 10540, loss 0.03018, detection recall 0.4591, detection precision 0.8613, correction recall 0.8264, correction precision 0.9342\n",
      "Epoch 1, Step 1678/8882, Total Step 10560, loss 0.02520, detection recall 0.4686, detection precision 0.8462, correction recall 0.8274, correction precision 0.9237\n",
      "Epoch 1, Step 1698/8882, Total Step 10580, loss 0.03288, detection recall 0.4319, detection precision 0.8553, correction recall 0.8140, correction precision 0.9187\n",
      "Epoch 1, Step 1718/8882, Total Step 10600, loss 0.02843, detection recall 0.4590, detection precision 0.8398, correction recall 0.8304, correction precision 0.9258\n",
      "Epoch 1, Step 1738/8882, Total Step 10620, loss 0.03330, detection recall 0.4459, detection precision 0.8390, correction recall 0.8063, correction precision 0.8917\n",
      "Epoch 1, Step 1758/8882, Total Step 10640, loss 0.02887, detection recall 0.4709, detection precision 0.8826, correction recall 0.8311, correction precision 0.9150\n",
      "Epoch 1, Step 1778/8882, Total Step 10660, loss 0.02832, detection recall 0.4546, detection precision 0.8134, correction recall 0.8243, correction precision 0.9122\n",
      "Epoch 1, Step 1798/8882, Total Step 10680, loss 0.03195, detection recall 0.4643, detection precision 0.8455, correction recall 0.8158, correction precision 0.9195\n",
      "Epoch 1, Step 1818/8882, Total Step 10700, loss 0.03663, detection recall 0.4490, detection precision 0.8398, correction recall 0.8123, correction precision 0.9193\n",
      "Epoch 1, Step 1838/8882, Total Step 10720, loss 0.02797, detection recall 0.4616, detection precision 0.8466, correction recall 0.8316, correction precision 0.9064\n",
      "Epoch 1, Step 1858/8882, Total Step 10740, loss 0.02969, detection recall 0.4521, detection precision 0.8371, correction recall 0.8252, correction precision 0.9216\n",
      "Epoch 1, Step 1878/8882, Total Step 10760, loss 0.03405, detection recall 0.4522, detection precision 0.8062, correction recall 0.8120, correction precision 0.9088\n",
      "Epoch 1, Step 1898/8882, Total Step 10780, loss 0.03270, detection recall 0.4580, detection precision 0.8842, correction recall 0.8190, correction precision 0.9237\n",
      "Epoch 1, Step 1918/8882, Total Step 10800, loss 0.02959, detection recall 0.4787, detection precision 0.8491, correction recall 0.8353, correction precision 0.9262\n",
      "Epoch 1, Step 1938/8882, Total Step 10820, loss 0.02668, detection recall 0.4843, detection precision 0.8288, correction recall 0.8404, correction precision 0.9373\n",
      "Epoch 1, Step 1958/8882, Total Step 10840, loss 0.02953, detection recall 0.4297, detection precision 0.8489, correction recall 0.8346, correction precision 0.9160\n",
      "Epoch 1, Step 1978/8882, Total Step 10860, loss 0.02862, detection recall 0.4649, detection precision 0.8653, correction recall 0.8366, correction precision 0.9260\n",
      "Epoch 1, Step 1998/8882, Total Step 10880, loss 0.02780, detection recall 0.4829, detection precision 0.8723, correction recall 0.8497, correction precision 0.9333\n",
      "Epoch 1, Step 2018/8882, Total Step 10900, loss 0.02717, detection recall 0.4871, detection precision 0.8837, correction recall 0.8515, correction precision 0.9288\n",
      "Epoch 1, Step 2038/8882, Total Step 10920, loss 0.02924, detection recall 0.4672, detection precision 0.8388, correction recall 0.8354, correction precision 0.9248\n",
      "Epoch 1, Step 2058/8882, Total Step 10940, loss 0.02587, detection recall 0.4842, detection precision 0.8992, correction recall 0.8450, correction precision 0.9349\n",
      "Epoch 1, Step 2078/8882, Total Step 10960, loss 0.02902, detection recall 0.4866, detection precision 0.8634, correction recall 0.8385, correction precision 0.9202\n",
      "Epoch 1, Step 2098/8882, Total Step 10980, loss 0.02712, detection recall 0.4521, detection precision 0.8236, correction recall 0.8427, correction precision 0.9185\n",
      "Epoch 1, Step 2118/8882, Total Step 11000, loss 0.02824, detection recall 0.4643, detection precision 0.8598, correction recall 0.8353, correction precision 0.9326\n",
      "Epoch 1, Step 2138/8882, Total Step 11020, loss 0.02749, detection recall 0.4547, detection precision 0.8493, correction recall 0.8484, correction precision 0.9329\n",
      "Epoch 1, Step 2158/8882, Total Step 11040, loss 0.02932, detection recall 0.4553, detection precision 0.8535, correction recall 0.8403, correction precision 0.9345\n",
      "Epoch 1, Step 2178/8882, Total Step 11060, loss 0.02913, detection recall 0.4723, detection precision 0.8655, correction recall 0.8532, correction precision 0.9458\n",
      "Epoch 1, Step 2198/8882, Total Step 11080, loss 0.02840, detection recall 0.4629, detection precision 0.8601, correction recall 0.8394, correction precision 0.9335\n",
      "Epoch 1, Step 2218/8882, Total Step 11100, loss 0.03142, detection recall 0.4518, detection precision 0.8766, correction recall 0.8235, correction precision 0.9147\n",
      "Epoch 1, Step 2238/8882, Total Step 11120, loss 0.03110, detection recall 0.4387, detection precision 0.8501, correction recall 0.8232, correction precision 0.9108\n",
      "Epoch 1, Step 2258/8882, Total Step 11140, loss 0.03385, detection recall 0.5128, detection precision 0.8233, correction recall 0.8269, correction precision 0.9214\n",
      "Epoch 1, Step 2278/8882, Total Step 11160, loss 0.03148, detection recall 0.4521, detection precision 0.8665, correction recall 0.8265, correction precision 0.9016\n",
      "Epoch 1, Step 2298/8882, Total Step 11180, loss 0.02692, detection recall 0.4837, detection precision 0.8591, correction recall 0.8424, correction precision 0.9533\n",
      "Epoch 1, Step 2318/8882, Total Step 11200, loss 0.02446, detection recall 0.5286, detection precision 0.8684, correction recall 0.8581, correction precision 0.9305\n",
      "Epoch 1, Step 2338/8882, Total Step 11220, loss 0.02600, detection recall 0.4773, detection precision 0.8320, correction recall 0.8401, correction precision 0.9274\n",
      "Epoch 1, Step 2358/8882, Total Step 11240, loss 0.03117, detection recall 0.4594, detection precision 0.8732, correction recall 0.8276, correction precision 0.9163\n",
      "Epoch 1, Step 2378/8882, Total Step 11260, loss 0.02525, detection recall 0.4708, detection precision 0.8527, correction recall 0.8396, correction precision 0.9094\n",
      "Epoch 1, Step 2398/8882, Total Step 11280, loss 0.02711, detection recall 0.4888, detection precision 0.8302, correction recall 0.8483, correction precision 0.9230\n",
      "Epoch 1, Step 2418/8882, Total Step 11300, loss 0.03041, detection recall 0.4635, detection precision 0.8732, correction recall 0.8260, correction precision 0.9109\n",
      "Epoch 1, Step 2438/8882, Total Step 11320, loss 0.02716, detection recall 0.4989, detection precision 0.8639, correction recall 0.8417, correction precision 0.9245\n",
      "Epoch 1, Step 2458/8882, Total Step 11340, loss 0.02844, detection recall 0.4927, detection precision 0.8401, correction recall 0.8373, correction precision 0.9356\n",
      "Epoch 1, Step 2478/8882, Total Step 11360, loss 0.02974, detection recall 0.4424, detection precision 0.8719, correction recall 0.8301, correction precision 0.9180\n",
      "Epoch 1, Step 2498/8882, Total Step 11380, loss 0.02446, detection recall 0.4523, detection precision 0.8340, correction recall 0.8683, correction precision 0.9507\n",
      "Epoch 1, Step 2518/8882, Total Step 11400, loss 0.02792, detection recall 0.4844, detection precision 0.8791, correction recall 0.8421, correction precision 0.9300\n",
      "Epoch 1, Step 2538/8882, Total Step 11420, loss 0.02607, detection recall 0.4733, detection precision 0.8416, correction recall 0.8563, correction precision 0.9367\n",
      "Epoch 1, Step 2558/8882, Total Step 11440, loss 0.02933, detection recall 0.4481, detection precision 0.8706, correction recall 0.8363, correction precision 0.9332\n",
      "Epoch 1, Step 2578/8882, Total Step 11460, loss 0.03260, detection recall 0.4765, detection precision 0.8583, correction recall 0.8153, correction precision 0.9098\n",
      "Epoch 1, Step 2598/8882, Total Step 11480, loss 0.02959, detection recall 0.4810, detection precision 0.8742, correction recall 0.8351, correction precision 0.9270\n",
      "Epoch 1, Step 2618/8882, Total Step 11500, loss 0.02772, detection recall 0.4707, detection precision 0.8672, correction recall 0.8457, correction precision 0.9318\n",
      "Epoch 1, Step 2638/8882, Total Step 11520, loss 0.02707, detection recall 0.4967, detection precision 0.8640, correction recall 0.8568, correction precision 0.9465\n",
      "Epoch 1, Step 2658/8882, Total Step 11540, loss 0.02234, detection recall 0.4846, detection precision 0.8481, correction recall 0.8626, correction precision 0.9368\n",
      "Epoch 1, Step 2678/8882, Total Step 11560, loss 0.02643, detection recall 0.4760, detection precision 0.8520, correction recall 0.8480, correction precision 0.9382\n",
      "Epoch 1, Step 2698/8882, Total Step 11580, loss 0.02421, detection recall 0.5044, detection precision 0.8410, correction recall 0.8570, correction precision 0.9235\n",
      "Epoch 1, Step 2718/8882, Total Step 11600, loss 0.02647, detection recall 0.4897, detection precision 0.8594, correction recall 0.8558, correction precision 0.9385\n",
      "Epoch 1, Step 2738/8882, Total Step 11620, loss 0.02812, detection recall 0.4586, detection precision 0.8489, correction recall 0.8421, correction precision 0.9202\n",
      "Epoch 1, Step 2758/8882, Total Step 11640, loss 0.02746, detection recall 0.5057, detection precision 0.8381, correction recall 0.8391, correction precision 0.9125\n",
      "Epoch 1, Step 2778/8882, Total Step 11660, loss 0.02243, detection recall 0.4937, detection precision 0.8577, correction recall 0.8601, correction precision 0.9391\n",
      "Epoch 1, Step 2798/8882, Total Step 11680, loss 0.02606, detection recall 0.5064, detection precision 0.8636, correction recall 0.8552, correction precision 0.9156\n",
      "Epoch 1, Step 2818/8882, Total Step 11700, loss 0.02524, detection recall 0.4782, detection precision 0.8841, correction recall 0.8477, correction precision 0.9311\n",
      "Epoch 1, Step 2838/8882, Total Step 11720, loss 0.02490, detection recall 0.4629, detection precision 0.8446, correction recall 0.8646, correction precision 0.9373\n",
      "Epoch 1, Step 2858/8882, Total Step 11740, loss 0.02769, detection recall 0.4776, detection precision 0.8589, correction recall 0.8442, correction precision 0.9308\n",
      "Epoch 1, Step 2878/8882, Total Step 11760, loss 0.03276, detection recall 0.4553, detection precision 0.8586, correction recall 0.8214, correction precision 0.9108\n",
      "Epoch 1, Step 2898/8882, Total Step 11780, loss 0.02955, detection recall 0.4865, detection precision 0.8411, correction recall 0.8543, correction precision 0.9192\n",
      "Epoch 1, Step 2918/8882, Total Step 11800, loss 0.02779, detection recall 0.4739, detection precision 0.8592, correction recall 0.8402, correction precision 0.9369\n",
      "Epoch 1, Step 2938/8882, Total Step 11820, loss 0.02792, detection recall 0.4511, detection precision 0.8501, correction recall 0.8386, correction precision 0.9260\n",
      "Epoch 1, Step 2958/8882, Total Step 11840, loss 0.02949, detection recall 0.4534, detection precision 0.8152, correction recall 0.8390, correction precision 0.9285\n",
      "Epoch 1, Step 2978/8882, Total Step 11860, loss 0.02710, detection recall 0.4712, detection precision 0.8745, correction recall 0.8426, correction precision 0.9280\n",
      "Epoch 1, Step 2998/8882, Total Step 11880, loss 0.02745, detection recall 0.4826, detection precision 0.8560, correction recall 0.8306, correction precision 0.9263\n",
      "Epoch 1, Step 3018/8882, Total Step 11900, loss 0.02786, detection recall 0.5108, detection precision 0.8809, correction recall 0.8437, correction precision 0.9152\n",
      "Epoch 1, Step 3038/8882, Total Step 11920, loss 0.02426, detection recall 0.5229, detection precision 0.8891, correction recall 0.8638, correction precision 0.9449\n",
      "Epoch 1, Step 3058/8882, Total Step 11940, loss 0.02948, detection recall 0.4717, detection precision 0.8745, correction recall 0.8346, correction precision 0.9307\n",
      "Epoch 1, Step 3078/8882, Total Step 11960, loss 0.02973, detection recall 0.4821, detection precision 0.8710, correction recall 0.8359, correction precision 0.9168\n",
      "Epoch 1, Step 3098/8882, Total Step 11980, loss 0.02858, detection recall 0.4658, detection precision 0.8830, correction recall 0.8462, correction precision 0.9343\n",
      "Epoch 1, Step 3118/8882, Total Step 12000, loss 0.02351, detection recall 0.4640, detection precision 0.8747, correction recall 0.8738, correction precision 0.9415\n",
      "Epoch 1, Step 3138/8882, Total Step 12020, loss 0.02352, detection recall 0.4937, detection precision 0.8346, correction recall 0.8635, correction precision 0.9394\n",
      "Epoch 1, Step 3158/8882, Total Step 12040, loss 0.02391, detection recall 0.4498, detection precision 0.8466, correction recall 0.8616, correction precision 0.9403\n",
      "Epoch 1, Step 3178/8882, Total Step 12060, loss 0.02527, detection recall 0.4637, detection precision 0.8409, correction recall 0.8602, correction precision 0.9287\n",
      "Epoch 1, Step 3198/8882, Total Step 12080, loss 0.02859, detection recall 0.4804, detection precision 0.8838, correction recall 0.8431, correction precision 0.9269\n",
      "Epoch 1, Step 3218/8882, Total Step 12100, loss 0.03243, detection recall 0.4961, detection precision 0.8814, correction recall 0.8354, correction precision 0.9215\n",
      "Epoch 1, Step 3238/8882, Total Step 12120, loss 0.03397, detection recall 0.4524, detection precision 0.8622, correction recall 0.8258, correction precision 0.9195\n",
      "Epoch 1, Step 3258/8882, Total Step 12140, loss 0.02565, detection recall 0.4882, detection precision 0.8614, correction recall 0.8552, correction precision 0.9236\n",
      "Epoch 1, Step 3278/8882, Total Step 12160, loss 0.02692, detection recall 0.4667, detection precision 0.8527, correction recall 0.8548, correction precision 0.9298\n",
      "Epoch 1, Step 3298/8882, Total Step 12180, loss 0.02520, detection recall 0.4718, detection precision 0.8727, correction recall 0.8465, correction precision 0.9259\n",
      "Epoch 1, Step 3318/8882, Total Step 12200, loss 0.02953, detection recall 0.4802, detection precision 0.8189, correction recall 0.8384, correction precision 0.9229\n",
      "Epoch 1, Step 3338/8882, Total Step 12220, loss 0.02950, detection recall 0.4943, detection precision 0.8765, correction recall 0.8459, correction precision 0.9356\n",
      "Epoch 1, Step 3358/8882, Total Step 12240, loss 0.02825, detection recall 0.4788, detection precision 0.8884, correction recall 0.8341, correction precision 0.9145\n",
      "Epoch 1, Step 3378/8882, Total Step 12260, loss 0.02770, detection recall 0.4752, detection precision 0.8471, correction recall 0.8454, correction precision 0.9293\n",
      "Epoch 1, Step 3398/8882, Total Step 12280, loss 0.02449, detection recall 0.4877, detection precision 0.8337, correction recall 0.8546, correction precision 0.9261\n",
      "Epoch 1, Step 3418/8882, Total Step 12300, loss 0.02684, detection recall 0.4903, detection precision 0.8791, correction recall 0.8469, correction precision 0.9216\n",
      "Epoch 1, Step 3438/8882, Total Step 12320, loss 0.02819, detection recall 0.4811, detection precision 0.8441, correction recall 0.8444, correction precision 0.9371\n",
      "Epoch 1, Step 3458/8882, Total Step 12340, loss 0.02676, detection recall 0.4929, detection precision 0.8654, correction recall 0.8565, correction precision 0.9265\n",
      "Epoch 1, Step 3478/8882, Total Step 12360, loss 0.02789, detection recall 0.4889, detection precision 0.8516, correction recall 0.8462, correction precision 0.9329\n",
      "Epoch 1, Step 3498/8882, Total Step 12380, loss 0.02764, detection recall 0.4961, detection precision 0.8509, correction recall 0.8506, correction precision 0.9182\n",
      "Epoch 1, Step 3518/8882, Total Step 12400, loss 0.02804, detection recall 0.4798, detection precision 0.8714, correction recall 0.8337, correction precision 0.9345\n",
      "Epoch 1, Step 3538/8882, Total Step 12420, loss 0.03038, detection recall 0.4697, detection precision 0.8592, correction recall 0.8405, correction precision 0.9227\n",
      "Epoch 1, Step 3558/8882, Total Step 12440, loss 0.02888, detection recall 0.4812, detection precision 0.8704, correction recall 0.8464, correction precision 0.9254\n",
      "Epoch 1, Step 3578/8882, Total Step 12460, loss 0.02540, detection recall 0.5006, detection precision 0.8269, correction recall 0.8484, correction precision 0.9395\n",
      "Epoch 1, Step 3598/8882, Total Step 12480, loss 0.02800, detection recall 0.4931, detection precision 0.8864, correction recall 0.8678, correction precision 0.9344\n",
      "Epoch 1, Step 3618/8882, Total Step 12500, loss 0.02742, detection recall 0.4737, detection precision 0.8388, correction recall 0.8564, correction precision 0.9353\n",
      "Epoch 1, Step 3638/8882, Total Step 12520, loss 0.02665, detection recall 0.4701, detection precision 0.8524, correction recall 0.8415, correction precision 0.9172\n",
      "Epoch 1, Step 3658/8882, Total Step 12540, loss 0.02654, detection recall 0.4977, detection precision 0.8494, correction recall 0.8462, correction precision 0.9292\n",
      "Epoch 1, Step 3678/8882, Total Step 12560, loss 0.02872, detection recall 0.4739, detection precision 0.8386, correction recall 0.8365, correction precision 0.9204\n",
      "Epoch 1, Step 3698/8882, Total Step 12580, loss 0.02725, detection recall 0.4766, detection precision 0.8646, correction recall 0.8474, correction precision 0.9191\n",
      "Epoch 1, Step 3718/8882, Total Step 12600, loss 0.02616, detection recall 0.4690, detection precision 0.8923, correction recall 0.8531, correction precision 0.9333\n",
      "Epoch 1, Step 3738/8882, Total Step 12620, loss 0.02518, detection recall 0.4787, detection precision 0.8843, correction recall 0.8523, correction precision 0.9293\n",
      "Epoch 1, Step 3758/8882, Total Step 12640, loss 0.02156, detection recall 0.4857, detection precision 0.8413, correction recall 0.8763, correction precision 0.9444\n",
      "Epoch 1, Step 3778/8882, Total Step 12660, loss 0.02418, detection recall 0.4977, detection precision 0.8420, correction recall 0.8667, correction precision 0.9383\n",
      "Epoch 1, Step 3798/8882, Total Step 12680, loss 0.02746, detection recall 0.4833, detection precision 0.8490, correction recall 0.8449, correction precision 0.9357\n",
      "Epoch 1, Step 3818/8882, Total Step 12700, loss 0.02841, detection recall 0.4842, detection precision 0.8791, correction recall 0.8465, correction precision 0.9169\n",
      "Epoch 1, Step 3838/8882, Total Step 12720, loss 0.02675, detection recall 0.5000, detection precision 0.8725, correction recall 0.8470, correction precision 0.9195\n",
      "Epoch 1, Step 3858/8882, Total Step 12740, loss 0.02674, detection recall 0.4750, detection precision 0.8409, correction recall 0.8357, correction precision 0.9205\n",
      "Epoch 1, Step 3878/8882, Total Step 12760, loss 0.02622, detection recall 0.4905, detection precision 0.8605, correction recall 0.8544, correction precision 0.9294\n",
      "Epoch 1, Step 3898/8882, Total Step 12780, loss 0.02409, detection recall 0.5093, detection precision 0.8778, correction recall 0.8550, correction precision 0.9389\n",
      "Epoch 1, Step 3918/8882, Total Step 12800, loss 0.02389, detection recall 0.4619, detection precision 0.8729, correction recall 0.8599, correction precision 0.9252\n",
      "Epoch 1, Step 3938/8882, Total Step 12820, loss 0.02733, detection recall 0.4802, detection precision 0.8723, correction recall 0.8604, correction precision 0.9310\n",
      "Epoch 1, Step 3958/8882, Total Step 12840, loss 0.02649, detection recall 0.4633, detection precision 0.8598, correction recall 0.8567, correction precision 0.9391\n",
      "Epoch 1, Step 3978/8882, Total Step 12860, loss 0.02320, detection recall 0.4972, detection precision 0.8833, correction recall 0.8618, correction precision 0.9303\n",
      "Epoch 1, Step 3998/8882, Total Step 12880, loss 0.02656, detection recall 0.5087, detection precision 0.8750, correction recall 0.8351, correction precision 0.9189\n",
      "Epoch 1, Step 4018/8882, Total Step 12900, loss 0.02920, detection recall 0.4885, detection precision 0.8871, correction recall 0.8462, correction precision 0.9271\n",
      "Epoch 1, Step 4038/8882, Total Step 12920, loss 0.02986, detection recall 0.4747, detection precision 0.8725, correction recall 0.8403, correction precision 0.9160\n",
      "Epoch 1, Step 4058/8882, Total Step 12940, loss 0.02419, detection recall 0.4767, detection precision 0.8499, correction recall 0.8567, correction precision 0.9354\n",
      "Epoch 1, Step 4078/8882, Total Step 12960, loss 0.02791, detection recall 0.4673, detection precision 0.8525, correction recall 0.8405, correction precision 0.9279\n",
      "Epoch 1, Step 4098/8882, Total Step 12980, loss 0.02766, detection recall 0.4772, detection precision 0.8475, correction recall 0.8293, correction precision 0.9248\n",
      "Epoch 1, Step 4118/8882, Total Step 13000, loss 0.02680, detection recall 0.4822, detection precision 0.8540, correction recall 0.8431, correction precision 0.9328\n",
      "Epoch 1, Step 4138/8882, Total Step 13020, loss 0.02773, detection recall 0.4775, detection precision 0.8638, correction recall 0.8562, correction precision 0.9384\n",
      "Epoch 1, Step 4158/8882, Total Step 13040, loss 0.02431, detection recall 0.5050, detection precision 0.8625, correction recall 0.8644, correction precision 0.9344\n",
      "Epoch 1, Step 4178/8882, Total Step 13060, loss 0.02489, detection recall 0.4929, detection precision 0.8534, correction recall 0.8588, correction precision 0.9372\n",
      "Epoch 1, Step 4198/8882, Total Step 13080, loss 0.02644, detection recall 0.4989, detection precision 0.8814, correction recall 0.8613, correction precision 0.9300\n",
      "Epoch 1, Step 4218/8882, Total Step 13100, loss 0.02405, detection recall 0.4950, detection precision 0.8593, correction recall 0.8568, correction precision 0.9380\n",
      "Epoch 1, Step 4238/8882, Total Step 13120, loss 0.02554, detection recall 0.5109, detection precision 0.8558, correction recall 0.8542, correction precision 0.9197\n",
      "Epoch 1, Step 4258/8882, Total Step 13140, loss 0.02817, detection recall 0.4598, detection precision 0.8639, correction recall 0.8368, correction precision 0.9274\n",
      "Epoch 1, Step 4278/8882, Total Step 13160, loss 0.02489, detection recall 0.4966, detection precision 0.8775, correction recall 0.8568, correction precision 0.9195\n",
      "Epoch 1, Step 4298/8882, Total Step 13180, loss 0.02536, detection recall 0.4978, detection precision 0.8558, correction recall 0.8620, correction precision 0.9331\n",
      "Epoch 1, Step 4318/8882, Total Step 13200, loss 0.02592, detection recall 0.4941, detection precision 0.8345, correction recall 0.8669, correction precision 0.9410\n",
      "Epoch 1, Step 4338/8882, Total Step 13220, loss 0.02713, detection recall 0.5027, detection precision 0.8333, correction recall 0.8567, correction precision 0.9303\n",
      "Epoch 1, Step 4358/8882, Total Step 13240, loss 0.02501, detection recall 0.4906, detection precision 0.8605, correction recall 0.8586, correction precision 0.9239\n",
      "Epoch 1, Step 4378/8882, Total Step 13260, loss 0.02437, detection recall 0.4878, detection precision 0.8664, correction recall 0.8529, correction precision 0.9267\n",
      "Epoch 1, Step 4398/8882, Total Step 13280, loss 0.02734, detection recall 0.4844, detection precision 0.8700, correction recall 0.8396, correction precision 0.9332\n",
      "Epoch 1, Step 4418/8882, Total Step 13300, loss 0.02514, detection recall 0.5051, detection precision 0.8649, correction recall 0.8546, correction precision 0.9244\n",
      "Epoch 1, Step 4438/8882, Total Step 13320, loss 0.02720, detection recall 0.5065, detection precision 0.8643, correction recall 0.8519, correction precision 0.9321\n",
      "Epoch 1, Step 4458/8882, Total Step 13340, loss 0.02936, detection recall 0.4539, detection precision 0.8485, correction recall 0.8302, correction precision 0.9111\n",
      "Epoch 1, Step 4478/8882, Total Step 13360, loss 0.02654, detection recall 0.4955, detection precision 0.8245, correction recall 0.8605, correction precision 0.9134\n",
      "Epoch 1, Step 4498/8882, Total Step 13380, loss 0.02484, detection recall 0.4983, detection precision 0.8708, correction recall 0.8533, correction precision 0.9454\n",
      "Epoch 1, Step 4518/8882, Total Step 13400, loss 0.02102, detection recall 0.5011, detection precision 0.8972, correction recall 0.8840, correction precision 0.9504\n",
      "Epoch 1, Step 4538/8882, Total Step 13420, loss 0.02807, detection recall 0.4900, detection precision 0.8838, correction recall 0.8606, correction precision 0.9389\n",
      "Epoch 1, Step 4558/8882, Total Step 13440, loss 0.02895, detection recall 0.4783, detection precision 0.8720, correction recall 0.8439, correction precision 0.9311\n",
      "Epoch 1, Step 4578/8882, Total Step 13460, loss 0.02987, detection recall 0.4937, detection precision 0.8527, correction recall 0.8168, correction precision 0.9193\n",
      "Epoch 1, Step 4598/8882, Total Step 13480, loss 0.02769, detection recall 0.4809, detection precision 0.8478, correction recall 0.8430, correction precision 0.9261\n",
      "Epoch 1, Step 4618/8882, Total Step 13500, loss 0.02382, detection recall 0.5080, detection precision 0.8571, correction recall 0.8570, correction precision 0.9270\n",
      "Epoch 1, Step 4638/8882, Total Step 13520, loss 0.02303, detection recall 0.4904, detection precision 0.8697, correction recall 0.8780, correction precision 0.9418\n",
      "Epoch 1, Step 4658/8882, Total Step 13540, loss 0.02551, detection recall 0.4629, detection precision 0.8431, correction recall 0.8504, correction precision 0.9240\n",
      "Epoch 1, Step 4678/8882, Total Step 13560, loss 0.02773, detection recall 0.4674, detection precision 0.8740, correction recall 0.8486, correction precision 0.9389\n",
      "Epoch 1, Step 4698/8882, Total Step 13580, loss 0.02560, detection recall 0.5039, detection precision 0.8966, correction recall 0.8559, correction precision 0.9296\n",
      "Epoch 1, Step 4718/8882, Total Step 13600, loss 0.02976, detection recall 0.4911, detection precision 0.8422, correction recall 0.8315, correction precision 0.9180\n",
      "Epoch 1, Step 4738/8882, Total Step 13620, loss 0.02674, detection recall 0.4971, detection precision 0.8859, correction recall 0.8487, correction precision 0.9334\n",
      "Epoch 1, Step 4758/8882, Total Step 13640, loss 0.02650, detection recall 0.5000, detection precision 0.8582, correction recall 0.8426, correction precision 0.9219\n",
      "Epoch 1, Step 4778/8882, Total Step 13660, loss 0.02544, detection recall 0.5122, detection precision 0.8524, correction recall 0.8548, correction precision 0.9146\n",
      "Epoch 1, Step 4798/8882, Total Step 13680, loss 0.02697, detection recall 0.4762, detection precision 0.8320, correction recall 0.8575, correction precision 0.9463\n",
      "Epoch 1, Step 4818/8882, Total Step 13700, loss 0.02503, detection recall 0.4659, detection precision 0.8758, correction recall 0.8733, correction precision 0.9374\n",
      "Epoch 1, Step 4838/8882, Total Step 13720, loss 0.02473, detection recall 0.5234, detection precision 0.8785, correction recall 0.8597, correction precision 0.9312\n",
      "Epoch 1, Step 4858/8882, Total Step 13740, loss 0.02641, detection recall 0.4920, detection precision 0.8454, correction recall 0.8497, correction precision 0.9325\n",
      "Epoch 1, Step 4878/8882, Total Step 13760, loss 0.02693, detection recall 0.4994, detection precision 0.8777, correction recall 0.8384, correction precision 0.9166\n",
      "Epoch 1, Step 4898/8882, Total Step 13780, loss 0.02737, detection recall 0.4943, detection precision 0.8878, correction recall 0.8557, correction precision 0.9285\n",
      "Epoch 1, Step 4918/8882, Total Step 13800, loss 0.02956, detection recall 0.4893, detection precision 0.8499, correction recall 0.8530, correction precision 0.9371\n",
      "Epoch 1, Step 4938/8882, Total Step 13820, loss 0.02685, detection recall 0.4863, detection precision 0.8425, correction recall 0.8390, correction precision 0.9163\n",
      "Epoch 1, Step 4958/8882, Total Step 13840, loss 0.02464, detection recall 0.5233, detection precision 0.8582, correction recall 0.8681, correction precision 0.9434\n",
      "Epoch 1, Step 4978/8882, Total Step 13860, loss 0.02404, detection recall 0.4859, detection precision 0.8431, correction recall 0.8599, correction precision 0.9407\n",
      "Epoch 1, Step 4998/8882, Total Step 13880, loss 0.03211, detection recall 0.5016, detection precision 0.8759, correction recall 0.8278, correction precision 0.9177\n",
      "Epoch 1, Step 5018/8882, Total Step 13900, loss 0.02507, detection recall 0.5216, detection precision 0.8793, correction recall 0.8557, correction precision 0.9239\n",
      "Epoch 1, Step 5038/8882, Total Step 13920, loss 0.02456, detection recall 0.4977, detection precision 0.8352, correction recall 0.8596, correction precision 0.9308\n",
      "Epoch 1, Step 5058/8882, Total Step 13940, loss 0.02598, detection recall 0.4874, detection precision 0.8466, correction recall 0.8452, correction precision 0.9377\n",
      "Epoch 1, Step 5078/8882, Total Step 13960, loss 0.02220, detection recall 0.4767, detection precision 0.8649, correction recall 0.8778, correction precision 0.9450\n",
      "Epoch 1, Step 5098/8882, Total Step 13980, loss 0.02137, detection recall 0.5137, detection precision 0.8952, correction recall 0.8809, correction precision 0.9494\n",
      "Epoch 1, Step 5118/8882, Total Step 14000, loss 0.02683, detection recall 0.4805, detection precision 0.8816, correction recall 0.8465, correction precision 0.9292\n",
      "Epoch 1, Step 5138/8882, Total Step 14020, loss 0.02440, detection recall 0.4933, detection precision 0.8530, correction recall 0.8658, correction precision 0.9393\n",
      "Epoch 1, Step 5158/8882, Total Step 14040, loss 0.02495, detection recall 0.4829, detection precision 0.8252, correction recall 0.8680, correction precision 0.9261\n",
      "Epoch 1, Step 5178/8882, Total Step 14060, loss 0.02245, detection recall 0.5061, detection precision 0.8645, correction recall 0.8615, correction precision 0.9323\n",
      "Epoch 1, Step 5198/8882, Total Step 14080, loss 0.02402, detection recall 0.4904, detection precision 0.8463, correction recall 0.8625, correction precision 0.9480\n",
      "Epoch 1, Step 5218/8882, Total Step 14100, loss 0.02502, detection recall 0.4938, detection precision 0.8785, correction recall 0.8544, correction precision 0.9260\n",
      "Epoch 1, Step 5238/8882, Total Step 14120, loss 0.02760, detection recall 0.4914, detection precision 0.9055, correction recall 0.8472, correction precision 0.9264\n",
      "Epoch 1, Step 5258/8882, Total Step 14140, loss 0.02728, detection recall 0.5175, detection precision 0.8693, correction recall 0.8534, correction precision 0.9311\n",
      "Epoch 1, Step 5278/8882, Total Step 14160, loss 0.02401, detection recall 0.4922, detection precision 0.8735, correction recall 0.8653, correction precision 0.9384\n",
      "Epoch 1, Step 5298/8882, Total Step 14180, loss 0.02169, detection recall 0.4942, detection precision 0.8968, correction recall 0.8654, correction precision 0.9455\n",
      "Epoch 1, Step 5318/8882, Total Step 14200, loss 0.02732, detection recall 0.4876, detection precision 0.8637, correction recall 0.8439, correction precision 0.9165\n",
      "Epoch 1, Step 5338/8882, Total Step 14220, loss 0.02466, detection recall 0.5239, detection precision 0.8757, correction recall 0.8546, correction precision 0.9322\n",
      "Epoch 1, Step 5358/8882, Total Step 14240, loss 0.02331, detection recall 0.4738, detection precision 0.8776, correction recall 0.8565, correction precision 0.9307\n",
      "Epoch 1, Step 5378/8882, Total Step 14260, loss 0.02786, detection recall 0.5084, detection precision 0.8601, correction recall 0.8536, correction precision 0.9363\n",
      "Epoch 1, Step 5398/8882, Total Step 14280, loss 0.02455, detection recall 0.4802, detection precision 0.8466, correction recall 0.8610, correction precision 0.9270\n",
      "Epoch 1, Step 5418/8882, Total Step 14300, loss 0.02614, detection recall 0.4848, detection precision 0.8672, correction recall 0.8425, correction precision 0.9258\n",
      "Epoch 1, Step 5438/8882, Total Step 14320, loss 0.02314, detection recall 0.5144, detection precision 0.9064, correction recall 0.8794, correction precision 0.9453\n",
      "Epoch 1, Step 5458/8882, Total Step 14340, loss 0.02356, detection recall 0.4870, detection precision 0.8811, correction recall 0.8686, correction precision 0.9331\n",
      "Epoch 1, Step 5478/8882, Total Step 14360, loss 0.02743, detection recall 0.5022, detection precision 0.8376, correction recall 0.8446, correction precision 0.9212\n",
      "Epoch 1, Step 5498/8882, Total Step 14380, loss 0.02389, detection recall 0.5096, detection precision 0.8856, correction recall 0.8558, correction precision 0.9320\n",
      "Epoch 1, Step 5518/8882, Total Step 14400, loss 0.02386, detection recall 0.5178, detection precision 0.8757, correction recall 0.8599, correction precision 0.9293\n",
      "Epoch 1, Step 5538/8882, Total Step 14420, loss 0.02798, detection recall 0.5022, detection precision 0.8645, correction recall 0.8514, correction precision 0.9287\n",
      "Epoch 1, Step 5558/8882, Total Step 14440, loss 0.02352, detection recall 0.5254, detection precision 0.8874, correction recall 0.8621, correction precision 0.9502\n",
      "Epoch 1, Step 5578/8882, Total Step 14460, loss 0.02261, detection recall 0.5273, detection precision 0.8723, correction recall 0.8703, correction precision 0.9333\n",
      "Epoch 1, Step 5598/8882, Total Step 14480, loss 0.03010, detection recall 0.4771, detection precision 0.8596, correction recall 0.8324, correction precision 0.9209\n",
      "Epoch 1, Step 5618/8882, Total Step 14500, loss 0.02662, detection recall 0.4825, detection precision 0.8409, correction recall 0.8388, correction precision 0.9358\n",
      "Epoch 1, Step 5638/8882, Total Step 14520, loss 0.02475, detection recall 0.4763, detection precision 0.8525, correction recall 0.8679, correction precision 0.9412\n",
      "Epoch 1, Step 5658/8882, Total Step 14540, loss 0.02860, detection recall 0.5076, detection precision 0.8530, correction recall 0.8456, correction precision 0.9333\n",
      "Epoch 1, Step 5678/8882, Total Step 14560, loss 0.02553, detection recall 0.4939, detection precision 0.8585, correction recall 0.8625, correction precision 0.9256\n",
      "Epoch 1, Step 5698/8882, Total Step 14580, loss 0.02561, detection recall 0.5163, detection precision 0.8696, correction recall 0.8552, correction precision 0.9181\n",
      "Epoch 1, Step 5718/8882, Total Step 14600, loss 0.02242, detection recall 0.5045, detection precision 0.8716, correction recall 0.8739, correction precision 0.9260\n",
      "Epoch 1, Step 5738/8882, Total Step 14620, loss 0.02224, detection recall 0.4837, detection precision 0.8958, correction recall 0.8841, correction precision 0.9424\n",
      "Epoch 1, Step 5758/8882, Total Step 14640, loss 0.02274, detection recall 0.4983, detection precision 0.8643, correction recall 0.8693, correction precision 0.9295\n",
      "Epoch 1, Step 5778/8882, Total Step 14660, loss 0.02246, detection recall 0.5135, detection precision 0.8889, correction recall 0.8626, correction precision 0.9364\n",
      "Epoch 1, Step 5798/8882, Total Step 14680, loss 0.02367, detection recall 0.5050, detection precision 0.8825, correction recall 0.8732, correction precision 0.9296\n",
      "Epoch 1, Step 5818/8882, Total Step 14700, loss 0.02457, detection recall 0.5011, detection precision 0.9167, correction recall 0.8622, correction precision 0.9380\n",
      "Epoch 1, Step 5838/8882, Total Step 14720, loss 0.02360, detection recall 0.4944, detection precision 0.8701, correction recall 0.8691, correction precision 0.9361\n",
      "Epoch 1, Step 5858/8882, Total Step 14740, loss 0.02435, detection recall 0.5095, detection precision 0.8518, correction recall 0.8608, correction precision 0.9263\n",
      "Epoch 1, Step 5878/8882, Total Step 14760, loss 0.02782, detection recall 0.4923, detection precision 0.8832, correction recall 0.8422, correction precision 0.9215\n",
      "Epoch 1, Step 5898/8882, Total Step 14780, loss 0.02517, detection recall 0.4995, detection precision 0.8623, correction recall 0.8503, correction precision 0.9185\n",
      "Epoch 1, Step 5918/8882, Total Step 14800, loss 0.02191, detection recall 0.4907, detection precision 0.8787, correction recall 0.8743, correction precision 0.9357\n",
      "Epoch 1, Step 5938/8882, Total Step 14820, loss 0.02569, detection recall 0.4789, detection precision 0.8692, correction recall 0.8647, correction precision 0.9398\n",
      "Epoch 1, Step 5958/8882, Total Step 14840, loss 0.02477, detection recall 0.4834, detection precision 0.8685, correction recall 0.8670, correction precision 0.9354\n",
      "Epoch 1, Step 5978/8882, Total Step 14860, loss 0.02544, detection recall 0.5027, detection precision 0.8632, correction recall 0.8698, correction precision 0.9428\n",
      "Epoch 1, Step 5998/8882, Total Step 14880, loss 0.02913, detection recall 0.4928, detection precision 0.8832, correction recall 0.8409, correction precision 0.9169\n",
      "Epoch 1, Step 6018/8882, Total Step 14900, loss 0.02493, detection recall 0.4952, detection precision 0.8863, correction recall 0.8568, correction precision 0.9224\n",
      "Epoch 1, Step 6038/8882, Total Step 14920, loss 0.02368, detection recall 0.5348, detection precision 0.8736, correction recall 0.8643, correction precision 0.9278\n",
      "Epoch 1, Step 6058/8882, Total Step 14940, loss 0.03048, detection recall 0.4984, detection precision 0.8318, correction recall 0.8386, correction precision 0.9203\n",
      "Epoch 1, Step 6078/8882, Total Step 14960, loss 0.02922, detection recall 0.5137, detection precision 0.8672, correction recall 0.8383, correction precision 0.9331\n",
      "Epoch 1, Step 6098/8882, Total Step 14980, loss 0.02187, detection recall 0.5044, detection precision 0.8542, correction recall 0.8709, correction precision 0.9315\n",
      "Epoch 1, Step 6118/8882, Total Step 15000, loss 0.02644, detection recall 0.5154, detection precision 0.8779, correction recall 0.8646, correction precision 0.9302\n",
      "Epoch 1, Step 6138/8882, Total Step 15020, loss 0.02592, detection recall 0.4839, detection precision 0.8878, correction recall 0.8565, correction precision 0.9356\n",
      "Epoch 1, Step 6158/8882, Total Step 15040, loss 0.02669, detection recall 0.4907, detection precision 0.8663, correction recall 0.8595, correction precision 0.9277\n",
      "Epoch 1, Step 6178/8882, Total Step 15060, loss 0.02450, detection recall 0.5144, detection precision 0.8421, correction recall 0.8576, correction precision 0.9280\n",
      "Epoch 1, Step 6198/8882, Total Step 15080, loss 0.02631, detection recall 0.5033, detection precision 0.8844, correction recall 0.8662, correction precision 0.9327\n",
      "Epoch 1, Step 6218/8882, Total Step 15100, loss 0.02471, detection recall 0.5412, detection precision 0.8727, correction recall 0.8684, correction precision 0.9279\n",
      "Epoch 1, Step 6238/8882, Total Step 15120, loss 0.02562, detection recall 0.5046, detection precision 0.8710, correction recall 0.8540, correction precision 0.9311\n",
      "Epoch 1, Step 6258/8882, Total Step 15140, loss 0.02426, detection recall 0.5290, detection precision 0.8857, correction recall 0.8498, correction precision 0.9291\n",
      "Epoch 1, Step 6278/8882, Total Step 15160, loss 0.02757, detection recall 0.5017, detection precision 0.8610, correction recall 0.8535, correction precision 0.9355\n",
      "Epoch 1, Step 6298/8882, Total Step 15180, loss 0.02863, detection recall 0.5028, detection precision 0.8537, correction recall 0.8519, correction precision 0.9168\n",
      "Epoch 1, Step 6318/8882, Total Step 15200, loss 0.02097, detection recall 0.5282, detection precision 0.8659, correction recall 0.8796, correction precision 0.9398\n",
      "Epoch 1, Step 6338/8882, Total Step 15220, loss 0.02975, detection recall 0.4952, detection precision 0.8915, correction recall 0.8396, correction precision 0.9231\n",
      "Epoch 1, Step 6358/8882, Total Step 15240, loss 0.02413, detection recall 0.4662, detection precision 0.8546, correction recall 0.8714, correction precision 0.9302\n",
      "Epoch 1, Step 6378/8882, Total Step 15260, loss 0.02091, detection recall 0.5246, detection precision 0.9176, correction recall 0.8740, correction precision 0.9455\n",
      "Epoch 1, Step 6398/8882, Total Step 15280, loss 0.02409, detection recall 0.5063, detection precision 0.8541, correction recall 0.8612, correction precision 0.9311\n",
      "Epoch 1, Step 6418/8882, Total Step 15300, loss 0.02394, detection recall 0.4783, detection precision 0.8583, correction recall 0.8498, correction precision 0.9283\n",
      "Epoch 1, Step 6438/8882, Total Step 15320, loss 0.02342, detection recall 0.5050, detection precision 0.8433, correction recall 0.8581, correction precision 0.9354\n",
      "Epoch 1, Step 6458/8882, Total Step 15340, loss 0.02384, detection recall 0.5028, detection precision 0.9139, correction recall 0.8591, correction precision 0.9304\n",
      "Epoch 1, Step 6478/8882, Total Step 15360, loss 0.02395, detection recall 0.5180, detection precision 0.8984, correction recall 0.8502, correction precision 0.9379\n",
      "Epoch 1, Step 6498/8882, Total Step 15380, loss 0.02391, detection recall 0.5061, detection precision 0.8577, correction recall 0.8718, correction precision 0.9282\n",
      "Epoch 1, Step 6518/8882, Total Step 15400, loss 0.02449, detection recall 0.4813, detection precision 0.8690, correction recall 0.8670, correction precision 0.9404\n",
      "Epoch 1, Step 6538/8882, Total Step 15420, loss 0.02587, detection recall 0.4910, detection precision 0.8395, correction recall 0.8484, correction precision 0.9375\n",
      "Epoch 1, Step 6558/8882, Total Step 15440, loss 0.02707, detection recall 0.5344, detection precision 0.8669, correction recall 0.8603, correction precision 0.9162\n",
      "Epoch 1, Step 6578/8882, Total Step 15460, loss 0.02566, detection recall 0.4620, detection precision 0.8434, correction recall 0.8548, correction precision 0.9350\n",
      "Epoch 1, Step 6598/8882, Total Step 15480, loss 0.02443, detection recall 0.4989, detection precision 0.8658, correction recall 0.8643, correction precision 0.9245\n",
      "Epoch 1, Step 6618/8882, Total Step 15500, loss 0.02856, detection recall 0.5121, detection precision 0.9082, correction recall 0.8469, correction precision 0.9299\n",
      "Epoch 1, Step 6638/8882, Total Step 15520, loss 0.02827, detection recall 0.4835, detection precision 0.8394, correction recall 0.8403, correction precision 0.9116\n",
      "Epoch 1, Step 6658/8882, Total Step 15540, loss 0.02198, detection recall 0.5012, detection precision 0.8889, correction recall 0.8770, correction precision 0.9345\n",
      "Epoch 1, Step 6678/8882, Total Step 15560, loss 0.02460, detection recall 0.4876, detection precision 0.8837, correction recall 0.8671, correction precision 0.9288\n",
      "Epoch 1, Step 6698/8882, Total Step 15580, loss 0.02715, detection recall 0.5118, detection precision 0.8566, correction recall 0.8478, correction precision 0.9295\n",
      "Epoch 1, Step 6718/8882, Total Step 15600, loss 0.02865, detection recall 0.4716, detection precision 0.8454, correction recall 0.8352, correction precision 0.9239\n",
      "Epoch 1, Step 6738/8882, Total Step 15620, loss 0.02810, detection recall 0.5124, detection precision 0.8876, correction recall 0.8486, correction precision 0.9160\n",
      "Epoch 1, Step 6758/8882, Total Step 15640, loss 0.02927, detection recall 0.5000, detection precision 0.8512, correction recall 0.8274, correction precision 0.9133\n",
      "Epoch 1, Step 6778/8882, Total Step 15660, loss 0.02491, detection recall 0.4789, detection precision 0.8554, correction recall 0.8518, correction precision 0.9143\n",
      "Epoch 1, Step 6798/8882, Total Step 15680, loss 0.02280, detection recall 0.5160, detection precision 0.8354, correction recall 0.8674, correction precision 0.9301\n",
      "Epoch 1, Step 6818/8882, Total Step 15700, loss 0.02906, detection recall 0.5166, detection precision 0.8614, correction recall 0.8492, correction precision 0.9251\n",
      "Epoch 1, Step 6838/8882, Total Step 15720, loss 0.02292, detection recall 0.4896, detection precision 0.8550, correction recall 0.8820, correction precision 0.9395\n",
      "Epoch 1, Step 6858/8882, Total Step 15740, loss 0.02924, detection recall 0.4978, detection precision 0.8582, correction recall 0.8356, correction precision 0.9307\n",
      "Epoch 1, Step 6878/8882, Total Step 15760, loss 0.02384, detection recall 0.5074, detection precision 0.8936, correction recall 0.8757, correction precision 0.9209\n",
      "Epoch 1, Step 6898/8882, Total Step 15780, loss 0.02463, detection recall 0.4933, detection precision 0.8506, correction recall 0.8511, correction precision 0.9296\n",
      "Epoch 1, Step 6918/8882, Total Step 15800, loss 0.02427, detection recall 0.5034, detection precision 0.8856, correction recall 0.8778, correction precision 0.9321\n",
      "Epoch 1, Step 6938/8882, Total Step 15820, loss 0.02189, detection recall 0.5055, detection precision 0.8571, correction recall 0.8703, correction precision 0.9379\n",
      "Epoch 1, Step 6958/8882, Total Step 15840, loss 0.02489, detection recall 0.5029, detection precision 0.8930, correction recall 0.8598, correction precision 0.9275\n",
      "Epoch 1, Step 6978/8882, Total Step 15860, loss 0.02541, detection recall 0.5064, detection precision 0.8404, correction recall 0.8552, correction precision 0.9318\n",
      "Epoch 1, Step 6998/8882, Total Step 15880, loss 0.02452, detection recall 0.5134, detection precision 0.8584, correction recall 0.8757, correction precision 0.9348\n",
      "Epoch 1, Step 7018/8882, Total Step 15900, loss 0.02696, detection recall 0.4771, detection precision 0.8644, correction recall 0.8648, correction precision 0.9382\n",
      "Epoch 1, Step 7038/8882, Total Step 15920, loss 0.02558, detection recall 0.5099, detection precision 0.8462, correction recall 0.8598, correction precision 0.9307\n",
      "Epoch 1, Step 7058/8882, Total Step 15940, loss 0.02179, detection recall 0.5283, detection precision 0.8811, correction recall 0.8620, correction precision 0.9361\n",
      "Epoch 1, Step 7078/8882, Total Step 15960, loss 0.02565, detection recall 0.5124, detection precision 0.8867, correction recall 0.8544, correction precision 0.9266\n",
      "Epoch 1, Step 7098/8882, Total Step 15980, loss 0.02750, detection recall 0.4995, detection precision 0.8874, correction recall 0.8496, correction precision 0.9306\n",
      "Epoch 1, Step 7118/8882, Total Step 16000, loss 0.02164, detection recall 0.4901, detection precision 0.8528, correction recall 0.8681, correction precision 0.9338\n",
      "Epoch 1, Step 7138/8882, Total Step 16020, loss 0.02316, detection recall 0.5300, detection precision 0.8679, correction recall 0.8811, correction precision 0.9406\n",
      "Epoch 1, Step 7158/8882, Total Step 16040, loss 0.02249, detection recall 0.5288, detection precision 0.8736, correction recall 0.8625, correction precision 0.9284\n",
      "Epoch 1, Step 7178/8882, Total Step 16060, loss 0.02313, detection recall 0.4977, detection precision 0.8747, correction recall 0.8668, correction precision 0.9345\n",
      "Epoch 1, Step 7198/8882, Total Step 16080, loss 0.02524, detection recall 0.5016, detection precision 0.8566, correction recall 0.8571, correction precision 0.9215\n",
      "Epoch 1, Step 7218/8882, Total Step 16100, loss 0.02288, detection recall 0.5000, detection precision 0.8762, correction recall 0.8709, correction precision 0.9382\n",
      "Epoch 1, Step 7238/8882, Total Step 16120, loss 0.02290, detection recall 0.5039, detection precision 0.8828, correction recall 0.8651, correction precision 0.9327\n",
      "Epoch 1, Step 7258/8882, Total Step 16140, loss 0.02278, detection recall 0.5539, detection precision 0.8737, correction recall 0.8710, correction precision 0.9445\n",
      "Epoch 1, Step 7278/8882, Total Step 16160, loss 0.02521, detection recall 0.4957, detection precision 0.8354, correction recall 0.8541, correction precision 0.9321\n",
      "Epoch 1, Step 7298/8882, Total Step 16180, loss 0.02258, detection recall 0.5107, detection precision 0.8716, correction recall 0.8597, correction precision 0.9262\n",
      "Epoch 1, Step 7318/8882, Total Step 16200, loss 0.02552, detection recall 0.5268, detection precision 0.8706, correction recall 0.8714, correction precision 0.9420\n",
      "Epoch 1, Step 7338/8882, Total Step 16220, loss 0.02691, detection recall 0.5000, detection precision 0.8604, correction recall 0.8498, correction precision 0.9270\n",
      "Epoch 1, Step 7358/8882, Total Step 16240, loss 0.02538, detection recall 0.4928, detection precision 0.8158, correction recall 0.8598, correction precision 0.9181\n",
      "Epoch 1, Step 7378/8882, Total Step 16260, loss 0.02118, detection recall 0.5345, detection precision 0.8613, correction recall 0.8822, correction precision 0.9420\n",
      "Epoch 1, Step 7398/8882, Total Step 16280, loss 0.02570, detection recall 0.4989, detection precision 0.8767, correction recall 0.8620, correction precision 0.9407\n",
      "Epoch 1, Step 7418/8882, Total Step 16300, loss 0.02978, detection recall 0.4791, detection precision 0.8773, correction recall 0.8637, correction precision 0.9280\n",
      "Epoch 1, Step 7438/8882, Total Step 16320, loss 0.02686, detection recall 0.5058, detection precision 0.8448, correction recall 0.8469, correction precision 0.9282\n",
      "Epoch 1, Step 7458/8882, Total Step 16340, loss 0.02581, detection recall 0.5062, detection precision 0.8748, correction recall 0.8528, correction precision 0.9342\n",
      "Epoch 1, Step 7478/8882, Total Step 16360, loss 0.02925, detection recall 0.4740, detection precision 0.8682, correction recall 0.8383, correction precision 0.9012\n",
      "Epoch 1, Step 7498/8882, Total Step 16380, loss 0.02445, detection recall 0.5129, detection precision 0.8755, correction recall 0.8653, correction precision 0.9312\n",
      "Epoch 1, Step 7518/8882, Total Step 16400, loss 0.02513, detection recall 0.5060, detection precision 0.8767, correction recall 0.8740, correction precision 0.9333\n",
      "Epoch 1, Step 7538/8882, Total Step 16420, loss 0.02672, detection recall 0.5067, detection precision 0.8738, correction recall 0.8625, correction precision 0.9329\n",
      "Epoch 1, Step 7558/8882, Total Step 16440, loss 0.02389, detection recall 0.5045, detection precision 0.8799, correction recall 0.8736, correction precision 0.9247\n",
      "Epoch 1, Step 7578/8882, Total Step 16460, loss 0.02337, detection recall 0.5215, detection precision 0.8585, correction recall 0.8529, correction precision 0.9520\n",
      "Epoch 1, Step 7598/8882, Total Step 16480, loss 0.02224, detection recall 0.5240, detection precision 0.8571, correction recall 0.8712, correction precision 0.9355\n",
      "Epoch 1, Step 7618/8882, Total Step 16500, loss 0.02373, detection recall 0.5285, detection precision 0.8776, correction recall 0.8726, correction precision 0.9265\n",
      "Epoch 1, Step 7638/8882, Total Step 16520, loss 0.02085, detection recall 0.4938, detection precision 0.8647, correction recall 0.8824, correction precision 0.9415\n",
      "Epoch 1, Step 7658/8882, Total Step 16540, loss 0.02192, detection recall 0.4941, detection precision 0.8891, correction recall 0.8692, correction precision 0.9470\n",
      "Epoch 1, Step 7678/8882, Total Step 16560, loss 0.02290, detection recall 0.5105, detection precision 0.8703, correction recall 0.8633, correction precision 0.9277\n",
      "Epoch 1, Step 7698/8882, Total Step 16580, loss 0.02507, detection recall 0.5527, detection precision 0.8561, correction recall 0.8584, correction precision 0.9255\n",
      "Epoch 1, Step 7718/8882, Total Step 16600, loss 0.02492, detection recall 0.5219, detection precision 0.8994, correction recall 0.8653, correction precision 0.9245\n",
      "Epoch 1, Step 7738/8882, Total Step 16620, loss 0.02203, detection recall 0.5420, detection precision 0.8901, correction recall 0.8673, correction precision 0.9352\n",
      "Epoch 1, Step 7758/8882, Total Step 16640, loss 0.02053, detection recall 0.5490, detection precision 0.8838, correction recall 0.8828, correction precision 0.9549\n",
      "Epoch 1, Step 7778/8882, Total Step 16660, loss 0.02164, detection recall 0.5034, detection precision 0.8708, correction recall 0.8747, correction precision 0.9337\n",
      "Epoch 1, Step 7798/8882, Total Step 16680, loss 0.02603, detection recall 0.5063, detection precision 0.8624, correction recall 0.8567, correction precision 0.9342\n",
      "Epoch 1, Step 7818/8882, Total Step 16700, loss 0.02521, detection recall 0.4845, detection precision 0.8202, correction recall 0.8684, correction precision 0.9268\n",
      "Epoch 1, Step 7838/8882, Total Step 16720, loss 0.02090, detection recall 0.5176, detection precision 0.8626, correction recall 0.8890, correction precision 0.9451\n",
      "Epoch 1, Step 7858/8882, Total Step 16740, loss 0.02592, detection recall 0.4908, detection precision 0.8598, correction recall 0.8584, correction precision 0.9297\n",
      "Epoch 1, Step 7878/8882, Total Step 16760, loss 0.02568, detection recall 0.4972, detection precision 0.8574, correction recall 0.8445, correction precision 0.9141\n",
      "Epoch 1, Step 7898/8882, Total Step 16780, loss 0.02734, detection recall 0.5000, detection precision 0.8460, correction recall 0.8553, correction precision 0.9308\n",
      "Epoch 1, Step 7918/8882, Total Step 16800, loss 0.02737, detection recall 0.4744, detection precision 0.8676, correction recall 0.8474, correction precision 0.9235\n",
      "Epoch 1, Step 7938/8882, Total Step 16820, loss 0.02543, detection recall 0.5456, detection precision 0.8599, correction recall 0.8571, correction precision 0.9361\n",
      "Epoch 1, Step 7958/8882, Total Step 16840, loss 0.02191, detection recall 0.5270, detection precision 0.8880, correction recall 0.8941, correction precision 0.9464\n",
      "Epoch 1, Step 7978/8882, Total Step 16860, loss 0.02502, detection recall 0.5385, detection precision 0.8843, correction recall 0.8623, correction precision 0.9266\n",
      "Epoch 1, Step 7998/8882, Total Step 16880, loss 0.02230, detection recall 0.5333, detection precision 0.8759, correction recall 0.8703, correction precision 0.9324\n",
      "Epoch 1, Step 8018/8882, Total Step 16900, loss 0.02176, detection recall 0.5247, detection precision 0.8472, correction recall 0.8914, correction precision 0.9453\n",
      "Epoch 1, Step 8038/8882, Total Step 16920, loss 0.02653, detection recall 0.5136, detection precision 0.8631, correction recall 0.8534, correction precision 0.9302\n",
      "Epoch 1, Step 8058/8882, Total Step 16940, loss 0.02587, detection recall 0.5125, detection precision 0.8588, correction recall 0.8588, correction precision 0.9343\n",
      "Epoch 1, Step 8078/8882, Total Step 16960, loss 0.02486, detection recall 0.4859, detection precision 0.8377, correction recall 0.8593, correction precision 0.9265\n",
      "Epoch 1, Step 8098/8882, Total Step 16980, loss 0.02227, detection recall 0.5517, detection precision 0.8905, correction recall 0.8678, correction precision 0.9402\n",
      "Epoch 1, Step 8118/8882, Total Step 17000, loss 0.02217, detection recall 0.5202, detection precision 0.8638, correction recall 0.8787, correction precision 0.9343\n",
      "Epoch 1, Step 8138/8882, Total Step 17020, loss 0.02380, detection recall 0.5259, detection precision 0.8817, correction recall 0.8732, correction precision 0.9296\n",
      "Epoch 1, Step 8158/8882, Total Step 17040, loss 0.02150, detection recall 0.5352, detection precision 0.8870, correction recall 0.8739, correction precision 0.9287\n",
      "Epoch 1, Step 8178/8882, Total Step 17060, loss 0.02448, detection recall 0.5128, detection precision 0.8547, correction recall 0.8693, correction precision 0.9340\n",
      "Epoch 1, Step 8198/8882, Total Step 17080, loss 0.02567, detection recall 0.5011, detection precision 0.8262, correction recall 0.8609, correction precision 0.9135\n",
      "Epoch 1, Step 8218/8882, Total Step 17100, loss 0.02320, detection recall 0.4923, detection precision 0.8641, correction recall 0.8662, correction precision 0.9299\n",
      "Epoch 1, Step 8238/8882, Total Step 17120, loss 0.02213, detection recall 0.5100, detection precision 0.8805, correction recall 0.8661, correction precision 0.9349\n",
      "Epoch 1, Step 8258/8882, Total Step 17140, loss 0.02572, detection recall 0.5120, detection precision 0.8683, correction recall 0.8720, correction precision 0.9278\n",
      "Epoch 1, Step 8278/8882, Total Step 17160, loss 0.02121, detection recall 0.5498, detection precision 0.8706, correction recall 0.8802, correction precision 0.9357\n",
      "Epoch 1, Step 8298/8882, Total Step 17180, loss 0.02455, detection recall 0.5206, detection precision 0.8553, correction recall 0.8573, correction precision 0.9287\n",
      "Epoch 1, Step 8318/8882, Total Step 17200, loss 0.02309, detection recall 0.5022, detection precision 0.8748, correction recall 0.8706, correction precision 0.9281\n",
      "Epoch 1, Step 8338/8882, Total Step 17220, loss 0.02200, detection recall 0.5322, detection precision 0.8957, correction recall 0.8608, correction precision 0.9460\n",
      "Epoch 1, Step 8358/8882, Total Step 17240, loss 0.02544, detection recall 0.5049, detection precision 0.8647, correction recall 0.8595, correction precision 0.9288\n",
      "Epoch 1, Step 8378/8882, Total Step 17260, loss 0.02148, detection recall 0.5480, detection precision 0.8765, correction recall 0.8875, correction precision 0.9285\n",
      "Epoch 1, Step 8398/8882, Total Step 17280, loss 0.02193, detection recall 0.5254, detection precision 0.8820, correction recall 0.8800, correction precision 0.9498\n",
      "Epoch 1, Step 8418/8882, Total Step 17300, loss 0.02539, detection recall 0.5375, detection precision 0.8514, correction recall 0.8609, correction precision 0.9155\n",
      "Epoch 1, Step 8438/8882, Total Step 17320, loss 0.02337, detection recall 0.5129, detection precision 0.8588, correction recall 0.8763, correction precision 0.9442\n",
      "Epoch 1, Step 8458/8882, Total Step 17340, loss 0.02004, detection recall 0.5359, detection precision 0.8770, correction recall 0.8696, correction precision 0.9226\n",
      "Epoch 1, Step 8478/8882, Total Step 17360, loss 0.02384, detection recall 0.5038, detection precision 0.8668, correction recall 0.8582, correction precision 0.9314\n",
      "Epoch 1, Step 8498/8882, Total Step 17380, loss 0.01874, detection recall 0.5192, detection precision 0.9104, correction recall 0.8839, correction precision 0.9407\n",
      "Epoch 1, Step 8518/8882, Total Step 17400, loss 0.02065, detection recall 0.5326, detection precision 0.8339, correction recall 0.8753, correction precision 0.9376\n",
      "Epoch 1, Step 8538/8882, Total Step 17420, loss 0.01884, detection recall 0.5258, detection precision 0.8766, correction recall 0.8906, correction precision 0.9389\n",
      "Epoch 1, Step 8558/8882, Total Step 17440, loss 0.01981, detection recall 0.5328, detection precision 0.8662, correction recall 0.8743, correction precision 0.9335\n",
      "Epoch 1, Step 8578/8882, Total Step 17460, loss 0.02148, detection recall 0.5072, detection precision 0.8945, correction recall 0.8837, correction precision 0.9388\n",
      "Epoch 1, Step 8598/8882, Total Step 17480, loss 0.02064, detection recall 0.5251, detection precision 0.8904, correction recall 0.8874, correction precision 0.9442\n",
      "Epoch 1, Step 8618/8882, Total Step 17500, loss 0.02240, detection recall 0.5191, detection precision 0.8921, correction recall 0.8655, correction precision 0.9380\n",
      "Epoch 1, Step 8638/8882, Total Step 17520, loss 0.02019, detection recall 0.5208, detection precision 0.8511, correction recall 0.8808, correction precision 0.9526\n",
      "Epoch 1, Step 8658/8882, Total Step 17540, loss 0.02344, detection recall 0.4897, detection precision 0.8950, correction recall 0.8724, correction precision 0.9279\n",
      "Epoch 1, Step 8678/8882, Total Step 17560, loss 0.02033, detection recall 0.5487, detection precision 0.8893, correction recall 0.8869, correction precision 0.9373\n",
      "Epoch 1, Step 8698/8882, Total Step 17580, loss 0.02341, detection recall 0.5368, detection precision 0.8634, correction recall 0.8607, correction precision 0.9268\n",
      "Epoch 1, Step 8718/8882, Total Step 17600, loss 0.02152, detection recall 0.5282, detection precision 0.9017, correction recall 0.8702, correction precision 0.9222\n",
      "Epoch 1, Step 8738/8882, Total Step 17620, loss 0.02514, detection recall 0.5366, detection precision 0.8627, correction recall 0.8548, correction precision 0.9146\n",
      "Epoch 1, Step 8758/8882, Total Step 17640, loss 0.02207, detection recall 0.4916, detection precision 0.8547, correction recall 0.8707, correction precision 0.9455\n",
      "Epoch 1, Step 8778/8882, Total Step 17660, loss 0.02252, detection recall 0.5315, detection precision 0.8459, correction recall 0.8727, correction precision 0.9360\n",
      "Epoch 1, Step 8798/8882, Total Step 17680, loss 0.02360, detection recall 0.5342, detection precision 0.8577, correction recall 0.8721, correction precision 0.9373\n",
      "Epoch 1, Step 8818/8882, Total Step 17700, loss 0.01980, detection recall 0.5266, detection precision 0.8996, correction recall 0.8858, correction precision 0.9389\n",
      "Epoch 1, Step 8838/8882, Total Step 17720, loss 0.02133, detection recall 0.5458, detection precision 0.8935, correction recall 0.8831, correction precision 0.9336\n",
      "Epoch 1, Step 8858/8882, Total Step 17740, loss 0.02450, detection recall 0.5305, detection precision 0.8757, correction recall 0.8394, correction precision 0.9089\n",
      "Epoch 1, Step 8878/8882, Total Step 17760, loss 0.02255, detection recall 0.5532, detection precision 0.8803, correction recall 0.8743, correction precision 0.9410\n",
      "Epoch 2, Step 16/8882, Total Step 17780, loss 0.01631, detection recall 0.5439, detection precision 0.8895, correction recall 0.9099, correction precision 0.9461\n",
      "Epoch 2, Step 36/8882, Total Step 17800, loss 0.01815, detection recall 0.5022, detection precision 0.8358, correction recall 0.9047, correction precision 0.9589\n",
      "Epoch 2, Step 56/8882, Total Step 17820, loss 0.01731, detection recall 0.5102, detection precision 0.8809, correction recall 0.8982, correction precision 0.9464\n",
      "Epoch 2, Step 76/8882, Total Step 17840, loss 0.01483, detection recall 0.5433, detection precision 0.8640, correction recall 0.9224, correction precision 0.9670\n",
      "Epoch 2, Step 96/8882, Total Step 17860, loss 0.01734, detection recall 0.5533, detection precision 0.8819, correction recall 0.8934, correction precision 0.9544\n",
      "Epoch 2, Step 116/8882, Total Step 17880, loss 0.01447, detection recall 0.5109, detection precision 0.8904, correction recall 0.9246, correction precision 0.9597\n",
      "Epoch 2, Step 136/8882, Total Step 17900, loss 0.01637, detection recall 0.5304, detection precision 0.9059, correction recall 0.9024, correction precision 0.9562\n",
      "Epoch 2, Step 156/8882, Total Step 17920, loss 0.01339, detection recall 0.5547, detection precision 0.8638, correction recall 0.9194, correction precision 0.9650\n",
      "Epoch 2, Step 176/8882, Total Step 17940, loss 0.01523, detection recall 0.5136, detection precision 0.8629, correction recall 0.9240, correction precision 0.9668\n",
      "Epoch 2, Step 196/8882, Total Step 17960, loss 0.01663, detection recall 0.5327, detection precision 0.8856, correction recall 0.9079, correction precision 0.9523\n",
      "Epoch 2, Step 216/8882, Total Step 17980, loss 0.01716, detection recall 0.5066, detection precision 0.8609, correction recall 0.9028, correction precision 0.9528\n",
      "Epoch 2, Step 236/8882, Total Step 18000, loss 0.01529, detection recall 0.5329, detection precision 0.8547, correction recall 0.9137, correction precision 0.9560\n",
      "Epoch 2, Step 256/8882, Total Step 18020, loss 0.01462, detection recall 0.5219, detection precision 0.8626, correction recall 0.9212, correction precision 0.9667\n",
      "Epoch 2, Step 276/8882, Total Step 18040, loss 0.01669, detection recall 0.5774, detection precision 0.8942, correction recall 0.9043, correction precision 0.9430\n",
      "Epoch 2, Step 296/8882, Total Step 18060, loss 0.01541, detection recall 0.5647, detection precision 0.8605, correction recall 0.9118, correction precision 0.9478\n",
      "Epoch 2, Step 316/8882, Total Step 18080, loss 0.02037, detection recall 0.5038, detection precision 0.8207, correction recall 0.8943, correction precision 0.9420\n",
      "Epoch 2, Step 336/8882, Total Step 18100, loss 0.01626, detection recall 0.5119, detection precision 0.8931, correction recall 0.9058, correction precision 0.9534\n",
      "Epoch 2, Step 356/8882, Total Step 18120, loss 0.01575, detection recall 0.4850, detection precision 0.8602, correction recall 0.9134, correction precision 0.9660\n",
      "Epoch 2, Step 376/8882, Total Step 18140, loss 0.01627, detection recall 0.4846, detection precision 0.8478, correction recall 0.9031, correction precision 0.9524\n",
      "Epoch 2, Step 396/8882, Total Step 18160, loss 0.01328, detection recall 0.5587, detection precision 0.9049, correction recall 0.9312, correction precision 0.9729\n",
      "Epoch 2, Step 416/8882, Total Step 18180, loss 0.01458, detection recall 0.5413, detection precision 0.8706, correction recall 0.9261, correction precision 0.9622\n",
      "Epoch 2, Step 436/8882, Total Step 18200, loss 0.01446, detection recall 0.5468, detection precision 0.8659, correction recall 0.9164, correction precision 0.9641\n",
      "Epoch 2, Step 456/8882, Total Step 18220, loss 0.01603, detection recall 0.5263, detection precision 0.8620, correction recall 0.9092, correction precision 0.9508\n",
      "Epoch 2, Step 476/8882, Total Step 18240, loss 0.01738, detection recall 0.5184, detection precision 0.8630, correction recall 0.9032, correction precision 0.9475\n",
      "Epoch 2, Step 496/8882, Total Step 18260, loss 0.01651, detection recall 0.5340, detection precision 0.8426, correction recall 0.9035, correction precision 0.9493\n",
      "Epoch 2, Step 516/8882, Total Step 18280, loss 0.01512, detection recall 0.5427, detection precision 0.8978, correction recall 0.9112, correction precision 0.9496\n",
      "Epoch 2, Step 536/8882, Total Step 18300, loss 0.01408, detection recall 0.5234, detection precision 0.8606, correction recall 0.9297, correction precision 0.9675\n",
      "Epoch 2, Step 556/8882, Total Step 18320, loss 0.01373, detection recall 0.5212, detection precision 0.8922, correction recall 0.9187, correction precision 0.9709\n",
      "Epoch 2, Step 576/8882, Total Step 18340, loss 0.01297, detection recall 0.5448, detection precision 0.8931, correction recall 0.9185, correction precision 0.9587\n",
      "Epoch 2, Step 596/8882, Total Step 18360, loss 0.01381, detection recall 0.5477, detection precision 0.8857, correction recall 0.9192, correction precision 0.9523\n",
      "Epoch 2, Step 616/8882, Total Step 18380, loss 0.01487, detection recall 0.5357, detection precision 0.8642, correction recall 0.9064, correction precision 0.9556\n",
      "Epoch 2, Step 636/8882, Total Step 18400, loss 0.01401, detection recall 0.5238, detection precision 0.8733, correction recall 0.9204, correction precision 0.9568\n",
      "Epoch 2, Step 656/8882, Total Step 18420, loss 0.01768, detection recall 0.5390, detection precision 0.8799, correction recall 0.9069, correction precision 0.9566\n",
      "Epoch 2, Step 676/8882, Total Step 18440, loss 0.01630, detection recall 0.5293, detection precision 0.8771, correction recall 0.9025, correction precision 0.9499\n",
      "Epoch 2, Step 696/8882, Total Step 18460, loss 0.01459, detection recall 0.5532, detection precision 0.8713, correction recall 0.9149, correction precision 0.9544\n",
      "Epoch 2, Step 716/8882, Total Step 18480, loss 0.01552, detection recall 0.5519, detection precision 0.8627, correction recall 0.9179, correction precision 0.9595\n",
      "Epoch 2, Step 736/8882, Total Step 18500, loss 0.01526, detection recall 0.5471, detection precision 0.8546, correction recall 0.9183, correction precision 0.9506\n",
      "Epoch 2, Step 756/8882, Total Step 18520, loss 0.01659, detection recall 0.5572, detection precision 0.8625, correction recall 0.9101, correction precision 0.9546\n",
      "Epoch 2, Step 776/8882, Total Step 18540, loss 0.01495, detection recall 0.5501, detection precision 0.8726, correction recall 0.9208, correction precision 0.9566\n",
      "Epoch 2, Step 796/8882, Total Step 18560, loss 0.01834, detection recall 0.5140, detection precision 0.8456, correction recall 0.9061, correction precision 0.9530\n",
      "Epoch 2, Step 816/8882, Total Step 18580, loss 0.01553, detection recall 0.5375, detection precision 0.8544, correction recall 0.9172, correction precision 0.9629\n",
      "Epoch 2, Step 836/8882, Total Step 18600, loss 0.01610, detection recall 0.5404, detection precision 0.8714, correction recall 0.9192, correction precision 0.9518\n",
      "Epoch 2, Step 856/8882, Total Step 18620, loss 0.01566, detection recall 0.5403, detection precision 0.8763, correction recall 0.9215, correction precision 0.9619\n",
      "Epoch 2, Step 876/8882, Total Step 18640, loss 0.01531, detection recall 0.5671, detection precision 0.8657, correction recall 0.9177, correction precision 0.9645\n",
      "Epoch 2, Step 896/8882, Total Step 18660, loss 0.01657, detection recall 0.5485, detection precision 0.8454, correction recall 0.9106, correction precision 0.9587\n",
      "Epoch 2, Step 916/8882, Total Step 18680, loss 0.01439, detection recall 0.5736, detection precision 0.8954, correction recall 0.9176, correction precision 0.9510\n",
      "Epoch 2, Step 936/8882, Total Step 18700, loss 0.01622, detection recall 0.5156, detection precision 0.8824, correction recall 0.9151, correction precision 0.9477\n",
      "Epoch 2, Step 956/8882, Total Step 18720, loss 0.01758, detection recall 0.5426, detection precision 0.8642, correction recall 0.9009, correction precision 0.9668\n",
      "Epoch 2, Step 976/8882, Total Step 18740, loss 0.01970, detection recall 0.5306, detection precision 0.8801, correction recall 0.8877, correction precision 0.9421\n",
      "Epoch 2, Step 996/8882, Total Step 18760, loss 0.01649, detection recall 0.5292, detection precision 0.8642, correction recall 0.9071, correction precision 0.9470\n",
      "Epoch 2, Step 1016/8882, Total Step 18780, loss 0.01254, detection recall 0.5461, detection precision 0.8852, correction recall 0.9326, correction precision 0.9742\n",
      "Epoch 2, Step 1036/8882, Total Step 18800, loss 0.01585, detection recall 0.5372, detection precision 0.8518, correction recall 0.9065, correction precision 0.9675\n",
      "Epoch 2, Step 1056/8882, Total Step 18820, loss 0.01316, detection recall 0.5605, detection precision 0.8960, correction recall 0.9338, correction precision 0.9658\n",
      "Epoch 2, Step 1076/8882, Total Step 18840, loss 0.01418, detection recall 0.5681, detection precision 0.8662, correction recall 0.9168, correction precision 0.9577\n",
      "Epoch 2, Step 1096/8882, Total Step 18860, loss 0.01365, detection recall 0.5704, detection precision 0.8836, correction recall 0.9272, correction precision 0.9576\n",
      "Epoch 2, Step 1116/8882, Total Step 18880, loss 0.01405, detection recall 0.5445, detection precision 0.8657, correction recall 0.9121, correction precision 0.9512\n",
      "Epoch 2, Step 1136/8882, Total Step 18900, loss 0.02025, detection recall 0.5032, detection precision 0.8497, correction recall 0.8909, correction precision 0.9355\n",
      "Epoch 2, Step 1156/8882, Total Step 18920, loss 0.01281, detection recall 0.5268, detection precision 0.8652, correction recall 0.9259, correction precision 0.9644\n",
      "Epoch 2, Step 1176/8882, Total Step 18940, loss 0.01471, detection recall 0.5703, detection precision 0.8902, correction recall 0.9253, correction precision 0.9564\n",
      "Epoch 2, Step 1196/8882, Total Step 18960, loss 0.01746, detection recall 0.5232, detection precision 0.8284, correction recall 0.8993, correction precision 0.9565\n",
      "Epoch 2, Step 1216/8882, Total Step 18980, loss 0.01769, detection recall 0.5111, detection precision 0.8779, correction recall 0.8956, correction precision 0.9394\n",
      "Epoch 2, Step 1236/8882, Total Step 19000, loss 0.01386, detection recall 0.5339, detection precision 0.8939, correction recall 0.9266, correction precision 0.9652\n",
      "Epoch 2, Step 1256/8882, Total Step 19020, loss 0.01704, detection recall 0.5135, detection precision 0.8713, correction recall 0.9090, correction precision 0.9622\n",
      "Epoch 2, Step 1276/8882, Total Step 19040, loss 0.01443, detection recall 0.5610, detection precision 0.8836, correction recall 0.9216, correction precision 0.9548\n",
      "Epoch 2, Step 1296/8882, Total Step 19060, loss 0.01444, detection recall 0.5482, detection precision 0.8489, correction recall 0.9081, correction precision 0.9558\n",
      "Epoch 2, Step 1316/8882, Total Step 19080, loss 0.01399, detection recall 0.5343, detection precision 0.8795, correction recall 0.9187, correction precision 0.9658\n",
      "Epoch 2, Step 1336/8882, Total Step 19100, loss 0.01460, detection recall 0.5504, detection precision 0.9086, correction recall 0.9114, correction precision 0.9626\n",
      "Epoch 2, Step 1356/8882, Total Step 19120, loss 0.01351, detection recall 0.5612, detection precision 0.8945, correction recall 0.9327, correction precision 0.9640\n",
      "Epoch 2, Step 1376/8882, Total Step 19140, loss 0.01587, detection recall 0.5480, detection precision 0.8569, correction recall 0.9040, correction precision 0.9643\n",
      "Epoch 2, Step 1396/8882, Total Step 19160, loss 0.01481, detection recall 0.5488, detection precision 0.8877, correction recall 0.9165, correction precision 0.9505\n",
      "Epoch 2, Step 1416/8882, Total Step 19180, loss 0.01610, detection recall 0.5344, detection precision 0.8875, correction recall 0.9104, correction precision 0.9608\n",
      "Epoch 2, Step 1436/8882, Total Step 19200, loss 0.01739, detection recall 0.5045, detection precision 0.8555, correction recall 0.9025, correction precision 0.9404\n",
      "Epoch 2, Step 1456/8882, Total Step 19220, loss 0.01635, detection recall 0.5327, detection precision 0.8992, correction recall 0.9144, correction precision 0.9542\n",
      "Epoch 2, Step 1476/8882, Total Step 19240, loss 0.01673, detection recall 0.5551, detection precision 0.8615, correction recall 0.9020, correction precision 0.9512\n",
      "Epoch 2, Step 1496/8882, Total Step 19260, loss 0.01522, detection recall 0.5705, detection precision 0.8504, correction recall 0.9211, correction precision 0.9533\n",
      "Epoch 2, Step 1516/8882, Total Step 19280, loss 0.01401, detection recall 0.5484, detection precision 0.8775, correction recall 0.9178, correction precision 0.9668\n",
      "Epoch 2, Step 1536/8882, Total Step 19300, loss 0.01535, detection recall 0.5757, detection precision 0.8597, correction recall 0.9105, correction precision 0.9548\n",
      "Epoch 2, Step 1556/8882, Total Step 19320, loss 0.01499, detection recall 0.5320, detection precision 0.8577, correction recall 0.9084, correction precision 0.9514\n",
      "Epoch 2, Step 1576/8882, Total Step 19340, loss 0.01625, detection recall 0.5545, detection precision 0.8782, correction recall 0.9150, correction precision 0.9614\n",
      "Epoch 2, Step 1596/8882, Total Step 19360, loss 0.01598, detection recall 0.5491, detection precision 0.8616, correction recall 0.9074, correction precision 0.9559\n",
      "Epoch 2, Step 1616/8882, Total Step 19380, loss 0.01443, detection recall 0.5816, detection precision 0.8689, correction recall 0.9258, correction precision 0.9682\n",
      "Epoch 2, Step 1636/8882, Total Step 19400, loss 0.01607, detection recall 0.5308, detection precision 0.8977, correction recall 0.9144, correction precision 0.9536\n",
      "Epoch 2, Step 1656/8882, Total Step 19420, loss 0.01521, detection recall 0.5478, detection precision 0.8664, correction recall 0.9111, correction precision 0.9579\n",
      "Epoch 2, Step 1676/8882, Total Step 19440, loss 0.01679, detection recall 0.5253, detection precision 0.8752, correction recall 0.9075, correction precision 0.9450\n",
      "Epoch 2, Step 1696/8882, Total Step 19460, loss 0.01633, detection recall 0.5161, detection precision 0.8775, correction recall 0.8914, correction precision 0.9640\n",
      "Epoch 2, Step 1716/8882, Total Step 19480, loss 0.01650, detection recall 0.5492, detection precision 0.9135, correction recall 0.9017, correction precision 0.9477\n",
      "Epoch 2, Step 1736/8882, Total Step 19500, loss 0.01700, detection recall 0.5635, detection precision 0.8763, correction recall 0.9039, correction precision 0.9501\n",
      "Epoch 2, Step 1756/8882, Total Step 19520, loss 0.01676, detection recall 0.5398, detection precision 0.8559, correction recall 0.8923, correction precision 0.9487\n",
      "Epoch 2, Step 1776/8882, Total Step 19540, loss 0.01550, detection recall 0.5196, detection precision 0.8736, correction recall 0.9150, correction precision 0.9633\n",
      "Epoch 2, Step 1796/8882, Total Step 19560, loss 0.01577, detection recall 0.5509, detection precision 0.8768, correction recall 0.9137, correction precision 0.9462\n",
      "Epoch 2, Step 1816/8882, Total Step 19580, loss 0.01462, detection recall 0.5624, detection precision 0.8716, correction recall 0.9105, correction precision 0.9559\n",
      "Epoch 2, Step 1836/8882, Total Step 19600, loss 0.01626, detection recall 0.5275, detection precision 0.8769, correction recall 0.9046, correction precision 0.9527\n",
      "Epoch 2, Step 1856/8882, Total Step 19620, loss 0.01567, detection recall 0.5557, detection precision 0.8853, correction recall 0.9123, correction precision 0.9519\n",
      "Epoch 2, Step 1876/8882, Total Step 19640, loss 0.01433, detection recall 0.5548, detection precision 0.8743, correction recall 0.9192, correction precision 0.9573\n",
      "Epoch 2, Step 1896/8882, Total Step 19660, loss 0.01389, detection recall 0.5537, detection precision 0.8688, correction recall 0.9266, correction precision 0.9636\n",
      "Epoch 2, Step 1916/8882, Total Step 19680, loss 0.01603, detection recall 0.5564, detection precision 0.8799, correction recall 0.9106, correction precision 0.9521\n",
      "Epoch 2, Step 1936/8882, Total Step 19700, loss 0.01525, detection recall 0.5564, detection precision 0.8651, correction recall 0.9165, correction precision 0.9646\n",
      "Epoch 2, Step 1956/8882, Total Step 19720, loss 0.01676, detection recall 0.5309, detection precision 0.8657, correction recall 0.9144, correction precision 0.9537\n",
      "Epoch 2, Step 1976/8882, Total Step 19740, loss 0.01385, detection recall 0.5944, detection precision 0.8900, correction recall 0.9232, correction precision 0.9556\n",
      "Epoch 2, Step 1996/8882, Total Step 19760, loss 0.01698, detection recall 0.5530, detection precision 0.8905, correction recall 0.9044, correction precision 0.9562\n",
      "Epoch 2, Step 2016/8882, Total Step 19780, loss 0.01627, detection recall 0.4983, detection precision 0.8869, correction recall 0.9008, correction precision 0.9517\n",
      "Epoch 2, Step 2036/8882, Total Step 19800, loss 0.01466, detection recall 0.5399, detection precision 0.8481, correction recall 0.9123, correction precision 0.9620\n",
      "Epoch 2, Step 2056/8882, Total Step 19820, loss 0.01620, detection recall 0.5346, detection precision 0.8774, correction recall 0.9123, correction precision 0.9569\n",
      "Epoch 2, Step 2076/8882, Total Step 19840, loss 0.01647, detection recall 0.5298, detection precision 0.8840, correction recall 0.9051, correction precision 0.9469\n",
      "Epoch 2, Step 2096/8882, Total Step 19860, loss 0.01671, detection recall 0.5548, detection precision 0.8748, correction recall 0.9060, correction precision 0.9586\n",
      "Epoch 2, Step 2116/8882, Total Step 19880, loss 0.01502, detection recall 0.5499, detection precision 0.8673, correction recall 0.9203, correction precision 0.9602\n",
      "Epoch 2, Step 2136/8882, Total Step 19900, loss 0.01582, detection recall 0.5482, detection precision 0.8726, correction recall 0.9068, correction precision 0.9473\n",
      "Epoch 2, Step 2156/8882, Total Step 19920, loss 0.01331, detection recall 0.5503, detection precision 0.8569, correction recall 0.9300, correction precision 0.9605\n",
      "Epoch 2, Step 2176/8882, Total Step 19940, loss 0.01646, detection recall 0.5095, detection precision 0.8653, correction recall 0.9196, correction precision 0.9592\n",
      "Epoch 2, Step 2196/8882, Total Step 19960, loss 0.01622, detection recall 0.5234, detection precision 0.8558, correction recall 0.9040, correction precision 0.9419\n",
      "Epoch 2, Step 2216/8882, Total Step 19980, loss 0.01749, detection recall 0.5537, detection precision 0.8576, correction recall 0.9136, correction precision 0.9461\n",
      "Epoch 2, Step 2236/8882, Total Step 20000, loss 0.01564, detection recall 0.5418, detection precision 0.8725, correction recall 0.9119, correction precision 0.9635\n",
      "Epoch 2, Step 2256/8882, Total Step 20020, loss 0.01494, detection recall 0.5409, detection precision 0.8985, correction recall 0.9158, correction precision 0.9555\n",
      "Epoch 2, Step 2276/8882, Total Step 20040, loss 0.01308, detection recall 0.5489, detection precision 0.8857, correction recall 0.9213, correction precision 0.9669\n",
      "Epoch 2, Step 2296/8882, Total Step 20060, loss 0.01782, detection recall 0.5290, detection precision 0.8671, correction recall 0.9069, correction precision 0.9517\n",
      "Epoch 2, Step 2316/8882, Total Step 20080, loss 0.01623, detection recall 0.5442, detection precision 0.8972, correction recall 0.9195, correction precision 0.9564\n",
      "Epoch 2, Step 2336/8882, Total Step 20100, loss 0.01466, detection recall 0.5332, detection precision 0.8598, correction recall 0.9108, correction precision 0.9476\n",
      "Epoch 2, Step 2356/8882, Total Step 20120, loss 0.01605, detection recall 0.5299, detection precision 0.8546, correction recall 0.9001, correction precision 0.9485\n",
      "Epoch 2, Step 2376/8882, Total Step 20140, loss 0.01511, detection recall 0.5306, detection precision 0.8864, correction recall 0.9002, correction precision 0.9475\n",
      "Epoch 2, Step 2396/8882, Total Step 20160, loss 0.01767, detection recall 0.5499, detection precision 0.8781, correction recall 0.8945, correction precision 0.9432\n",
      "Epoch 2, Step 2416/8882, Total Step 20180, loss 0.01815, detection recall 0.5578, detection precision 0.8913, correction recall 0.9002, correction precision 0.9509\n",
      "Epoch 2, Step 2436/8882, Total Step 20200, loss 0.01563, detection recall 0.5496, detection precision 0.8634, correction recall 0.8941, correction precision 0.9548\n",
      "Epoch 2, Step 2456/8882, Total Step 20220, loss 0.01296, detection recall 0.5768, detection precision 0.8647, correction recall 0.9355, correction precision 0.9661\n",
      "Epoch 2, Step 2476/8882, Total Step 20240, loss 0.01508, detection recall 0.5585, detection precision 0.8768, correction recall 0.9133, correction precision 0.9582\n",
      "Epoch 2, Step 2496/8882, Total Step 20260, loss 0.01652, detection recall 0.5382, detection precision 0.8899, correction recall 0.9050, correction precision 0.9562\n",
      "Epoch 2, Step 2516/8882, Total Step 20280, loss 0.01792, detection recall 0.5349, detection precision 0.9050, correction recall 0.9026, correction precision 0.9598\n",
      "Epoch 2, Step 2536/8882, Total Step 20300, loss 0.01505, detection recall 0.5345, detection precision 0.8825, correction recall 0.9222, correction precision 0.9590\n",
      "Epoch 2, Step 2556/8882, Total Step 20320, loss 0.01473, detection recall 0.5402, detection precision 0.8599, correction recall 0.9163, correction precision 0.9558\n",
      "Epoch 2, Step 2576/8882, Total Step 20340, loss 0.01509, detection recall 0.5447, detection precision 0.8682, correction recall 0.9151, correction precision 0.9618\n",
      "Epoch 2, Step 2596/8882, Total Step 20360, loss 0.01600, detection recall 0.5232, detection precision 0.8938, correction recall 0.9006, correction precision 0.9522\n",
      "Epoch 2, Step 2616/8882, Total Step 20380, loss 0.01384, detection recall 0.5711, detection precision 0.8776, correction recall 0.9113, correction precision 0.9651\n",
      "Epoch 2, Step 2636/8882, Total Step 20400, loss 0.01754, detection recall 0.5225, detection precision 0.8533, correction recall 0.9025, correction precision 0.9504\n",
      "Epoch 2, Step 2656/8882, Total Step 20420, loss 0.01402, detection recall 0.5419, detection precision 0.8818, correction recall 0.9229, correction precision 0.9695\n",
      "Epoch 2, Step 2676/8882, Total Step 20440, loss 0.01369, detection recall 0.5773, detection precision 0.8590, correction recall 0.9237, correction precision 0.9615\n",
      "Epoch 2, Step 2696/8882, Total Step 20460, loss 0.01465, detection recall 0.5682, detection precision 0.8959, correction recall 0.9206, correction precision 0.9559\n",
      "Epoch 2, Step 2716/8882, Total Step 20480, loss 0.01402, detection recall 0.5682, detection precision 0.8827, correction recall 0.9154, correction precision 0.9553\n",
      "Epoch 2, Step 2736/8882, Total Step 20500, loss 0.01603, detection recall 0.5312, detection precision 0.8718, correction recall 0.9096, correction precision 0.9611\n",
      "Epoch 2, Step 2756/8882, Total Step 20520, loss 0.01635, detection recall 0.5208, detection precision 0.8652, correction recall 0.9035, correction precision 0.9537\n",
      "Epoch 2, Step 2776/8882, Total Step 20540, loss 0.01640, detection recall 0.5487, detection precision 0.8507, correction recall 0.8933, correction precision 0.9425\n",
      "Epoch 2, Step 2796/8882, Total Step 20560, loss 0.01362, detection recall 0.5441, detection precision 0.9086, correction recall 0.9318, correction precision 0.9686\n",
      "Epoch 2, Step 2816/8882, Total Step 20580, loss 0.01527, detection recall 0.5339, detection precision 0.8957, correction recall 0.9123, correction precision 0.9637\n",
      "Epoch 2, Step 2836/8882, Total Step 20600, loss 0.01521, detection recall 0.5511, detection precision 0.8717, correction recall 0.9067, correction precision 0.9488\n",
      "Epoch 2, Step 2856/8882, Total Step 20620, loss 0.01424, detection recall 0.5690, detection precision 0.8903, correction recall 0.9219, correction precision 0.9622\n",
      "Epoch 2, Step 2876/8882, Total Step 20640, loss 0.01767, detection recall 0.5471, detection precision 0.8774, correction recall 0.8992, correction precision 0.9464\n",
      "Epoch 2, Step 2896/8882, Total Step 20660, loss 0.01683, detection recall 0.5562, detection precision 0.8767, correction recall 0.9207, correction precision 0.9522\n",
      "Epoch 2, Step 2916/8882, Total Step 20680, loss 0.01388, detection recall 0.5515, detection precision 0.8855, correction recall 0.9083, correction precision 0.9548\n",
      "Epoch 2, Step 2936/8882, Total Step 20700, loss 0.01497, detection recall 0.5484, detection precision 0.9046, correction recall 0.9188, correction precision 0.9706\n",
      "Epoch 2, Step 2956/8882, Total Step 20720, loss 0.01458, detection recall 0.5562, detection precision 0.8798, correction recall 0.9251, correction precision 0.9492\n",
      "Epoch 2, Step 2976/8882, Total Step 20740, loss 0.01295, detection recall 0.5813, detection precision 0.8628, correction recall 0.9243, correction precision 0.9606\n",
      "Epoch 2, Step 2996/8882, Total Step 20760, loss 0.01362, detection recall 0.5608, detection precision 0.9022, correction recall 0.9257, correction precision 0.9705\n",
      "Epoch 2, Step 3016/8882, Total Step 20780, loss 0.01569, detection recall 0.5600, detection precision 0.9024, correction recall 0.9102, correction precision 0.9575\n",
      "Epoch 2, Step 3036/8882, Total Step 20800, loss 0.01497, detection recall 0.5858, detection precision 0.8767, correction recall 0.9221, correction precision 0.9522\n",
      "Epoch 2, Step 3056/8882, Total Step 20820, loss 0.01674, detection recall 0.5497, detection precision 0.8887, correction recall 0.9093, correction precision 0.9563\n",
      "Epoch 2, Step 3076/8882, Total Step 20840, loss 0.01552, detection recall 0.5452, detection precision 0.8670, correction recall 0.9153, correction precision 0.9513\n",
      "Epoch 2, Step 3096/8882, Total Step 20860, loss 0.01486, detection recall 0.5583, detection precision 0.8660, correction recall 0.9082, correction precision 0.9514\n",
      "Epoch 2, Step 3116/8882, Total Step 20880, loss 0.01903, detection recall 0.5436, detection precision 0.8604, correction recall 0.8931, correction precision 0.9529\n",
      "Epoch 2, Step 3136/8882, Total Step 20900, loss 0.01341, detection recall 0.5597, detection precision 0.8800, correction recall 0.9215, correction precision 0.9575\n",
      "Epoch 2, Step 3156/8882, Total Step 20920, loss 0.01638, detection recall 0.5640, detection precision 0.8792, correction recall 0.9096, correction precision 0.9441\n",
      "Epoch 2, Step 3176/8882, Total Step 20940, loss 0.01554, detection recall 0.5661, detection precision 0.8727, correction recall 0.9163, correction precision 0.9652\n",
      "Epoch 2, Step 3196/8882, Total Step 20960, loss 0.01498, detection recall 0.5599, detection precision 0.8767, correction recall 0.9235, correction precision 0.9630\n",
      "Epoch 2, Step 3216/8882, Total Step 20980, loss 0.01753, detection recall 0.5629, detection precision 0.9107, correction recall 0.9062, correction precision 0.9547\n",
      "Epoch 2, Step 3236/8882, Total Step 21000, loss 0.01471, detection recall 0.5773, detection precision 0.8765, correction recall 0.9141, correction precision 0.9614\n",
      "Epoch 2, Step 3256/8882, Total Step 21020, loss 0.01409, detection recall 0.5385, detection precision 0.8929, correction recall 0.9229, correction precision 0.9576\n",
      "Epoch 2, Step 3276/8882, Total Step 21040, loss 0.01370, detection recall 0.5657, detection precision 0.9039, correction recall 0.9198, correction precision 0.9672\n",
      "Epoch 2, Step 3296/8882, Total Step 21060, loss 0.01728, detection recall 0.5924, detection precision 0.8831, correction recall 0.9093, correction precision 0.9564\n",
      "Epoch 2, Step 3316/8882, Total Step 21080, loss 0.01577, detection recall 0.5814, detection precision 0.8706, correction recall 0.9258, correction precision 0.9522\n",
      "Epoch 2, Step 3336/8882, Total Step 21100, loss 0.01557, detection recall 0.5355, detection precision 0.8764, correction recall 0.9016, correction precision 0.9483\n",
      "Epoch 2, Step 3356/8882, Total Step 21120, loss 0.01523, detection recall 0.5861, detection precision 0.8763, correction recall 0.9105, correction precision 0.9599\n",
      "Epoch 2, Step 3376/8882, Total Step 21140, loss 0.01603, detection recall 0.5556, detection precision 0.8673, correction recall 0.9127, correction precision 0.9572\n",
      "Epoch 2, Step 3396/8882, Total Step 21160, loss 0.01569, detection recall 0.5623, detection precision 0.8636, correction recall 0.9187, correction precision 0.9593\n",
      "Epoch 2, Step 3416/8882, Total Step 21180, loss 0.01703, detection recall 0.5262, detection precision 0.8757, correction recall 0.9108, correction precision 0.9600\n",
      "Epoch 2, Step 3436/8882, Total Step 21200, loss 0.01654, detection recall 0.5547, detection precision 0.8817, correction recall 0.9125, correction precision 0.9630\n",
      "Epoch 2, Step 3456/8882, Total Step 21220, loss 0.01579, detection recall 0.5457, detection precision 0.8807, correction recall 0.9076, correction precision 0.9414\n",
      "Epoch 2, Step 3476/8882, Total Step 21240, loss 0.01773, detection recall 0.5711, detection precision 0.8765, correction recall 0.8975, correction precision 0.9465\n",
      "Epoch 2, Step 3496/8882, Total Step 21260, loss 0.01528, detection recall 0.5334, detection precision 0.8674, correction recall 0.9162, correction precision 0.9608\n",
      "Epoch 2, Step 3516/8882, Total Step 21280, loss 0.01746, detection recall 0.5371, detection precision 0.8597, correction recall 0.9112, correction precision 0.9564\n",
      "Epoch 2, Step 3536/8882, Total Step 21300, loss 0.01665, detection recall 0.5483, detection precision 0.8414, correction recall 0.9011, correction precision 0.9480\n",
      "Epoch 2, Step 3556/8882, Total Step 21320, loss 0.01577, detection recall 0.5612, detection precision 0.8651, correction recall 0.9169, correction precision 0.9567\n",
      "Epoch 2, Step 3576/8882, Total Step 21340, loss 0.01339, detection recall 0.5513, detection precision 0.8816, correction recall 0.9226, correction precision 0.9574\n",
      "Epoch 2, Step 3596/8882, Total Step 21360, loss 0.01417, detection recall 0.5411, detection precision 0.8711, correction recall 0.9166, correction precision 0.9553\n",
      "Epoch 2, Step 3616/8882, Total Step 21380, loss 0.01549, detection recall 0.5444, detection precision 0.8832, correction recall 0.9123, correction precision 0.9655\n",
      "Epoch 2, Step 3636/8882, Total Step 21400, loss 0.01610, detection recall 0.5409, detection precision 0.8875, correction recall 0.9104, correction precision 0.9537\n",
      "Epoch 2, Step 3656/8882, Total Step 21420, loss 0.01445, detection recall 0.5768, detection precision 0.8681, correction recall 0.9199, correction precision 0.9508\n",
      "Epoch 2, Step 3676/8882, Total Step 21440, loss 0.01553, detection recall 0.5399, detection precision 0.8653, correction recall 0.9235, correction precision 0.9662\n",
      "Epoch 2, Step 3696/8882, Total Step 21460, loss 0.01466, detection recall 0.5616, detection precision 0.8557, correction recall 0.9144, correction precision 0.9468\n",
      "Epoch 2, Step 3716/8882, Total Step 21480, loss 0.01725, detection recall 0.5343, detection precision 0.8847, correction recall 0.9042, correction precision 0.9497\n",
      "Epoch 2, Step 3736/8882, Total Step 21500, loss 0.01706, detection recall 0.5161, detection precision 0.8927, correction recall 0.9025, correction precision 0.9477\n",
      "Epoch 2, Step 3756/8882, Total Step 21520, loss 0.01773, detection recall 0.5171, detection precision 0.8569, correction recall 0.9051, correction precision 0.9507\n",
      "Epoch 2, Step 3776/8882, Total Step 21540, loss 0.01486, detection recall 0.5624, detection precision 0.8937, correction recall 0.9138, correction precision 0.9561\n",
      "Epoch 2, Step 3796/8882, Total Step 21560, loss 0.01485, detection recall 0.6007, detection precision 0.8703, correction recall 0.9116, correction precision 0.9555\n",
      "Epoch 2, Step 3816/8882, Total Step 21580, loss 0.01357, detection recall 0.5798, detection precision 0.9066, correction recall 0.9219, correction precision 0.9548\n",
      "Epoch 2, Step 3836/8882, Total Step 21600, loss 0.01455, detection recall 0.5851, detection precision 0.8501, correction recall 0.9166, correction precision 0.9598\n",
      "Epoch 2, Step 3856/8882, Total Step 21620, loss 0.01567, detection recall 0.5335, detection precision 0.8694, correction recall 0.9100, correction precision 0.9496\n",
      "Epoch 2, Step 3876/8882, Total Step 21640, loss 0.01254, detection recall 0.5882, detection precision 0.8953, correction recall 0.9301, correction precision 0.9719\n",
      "Epoch 2, Step 3896/8882, Total Step 21660, loss 0.01597, detection recall 0.5635, detection precision 0.8729, correction recall 0.8972, correction precision 0.9513\n",
      "Epoch 2, Step 3916/8882, Total Step 21680, loss 0.01516, detection recall 0.5502, detection precision 0.8819, correction recall 0.9085, correction precision 0.9432\n",
      "Epoch 2, Step 3936/8882, Total Step 21700, loss 0.01259, detection recall 0.5567, detection precision 0.8788, correction recall 0.9278, correction precision 0.9597\n",
      "Epoch 2, Step 3956/8882, Total Step 21720, loss 0.01541, detection recall 0.5710, detection precision 0.8504, correction recall 0.9159, correction precision 0.9622\n",
      "Epoch 2, Step 3976/8882, Total Step 21740, loss 0.01588, detection recall 0.5589, detection precision 0.8783, correction recall 0.9046, correction precision 0.9595\n",
      "Epoch 2, Step 3996/8882, Total Step 21760, loss 0.01287, detection recall 0.5426, detection precision 0.8820, correction recall 0.9309, correction precision 0.9608\n",
      "Epoch 2, Step 4016/8882, Total Step 21780, loss 0.01634, detection recall 0.5413, detection precision 0.8480, correction recall 0.9008, correction precision 0.9423\n",
      "Epoch 2, Step 4036/8882, Total Step 21800, loss 0.01534, detection recall 0.5439, detection precision 0.8393, correction recall 0.9079, correction precision 0.9539\n",
      "Epoch 2, Step 4056/8882, Total Step 21820, loss 0.01622, detection recall 0.5809, detection precision 0.8940, correction recall 0.9070, correction precision 0.9450\n",
      "Epoch 2, Step 4076/8882, Total Step 21840, loss 0.01486, detection recall 0.5577, detection precision 0.8710, correction recall 0.9208, correction precision 0.9610\n",
      "Epoch 2, Step 4096/8882, Total Step 21860, loss 0.01264, detection recall 0.5687, detection precision 0.8867, correction recall 0.9296, correction precision 0.9568\n",
      "Epoch 2, Step 4116/8882, Total Step 21880, loss 0.01470, detection recall 0.5816, detection precision 0.8881, correction recall 0.9190, correction precision 0.9628\n",
      "Epoch 2, Step 4136/8882, Total Step 21900, loss 0.01687, detection recall 0.5682, detection precision 0.9097, correction recall 0.8918, correction precision 0.9417\n",
      "Epoch 2, Step 4156/8882, Total Step 21920, loss 0.01561, detection recall 0.5595, detection precision 0.8602, correction recall 0.9199, correction precision 0.9497\n",
      "Epoch 2, Step 4176/8882, Total Step 21940, loss 0.01558, detection recall 0.5902, detection precision 0.8823, correction recall 0.9087, correction precision 0.9398\n",
      "Epoch 2, Step 4196/8882, Total Step 21960, loss 0.01645, detection recall 0.5305, detection precision 0.8496, correction recall 0.9140, correction precision 0.9484\n",
      "Epoch 2, Step 4216/8882, Total Step 21980, loss 0.01595, detection recall 0.5502, detection precision 0.8693, correction recall 0.9151, correction precision 0.9551\n",
      "Epoch 2, Step 4236/8882, Total Step 22000, loss 0.01367, detection recall 0.5732, detection precision 0.9002, correction recall 0.9137, correction precision 0.9629\n",
      "Epoch 2, Step 4256/8882, Total Step 22020, loss 0.01471, detection recall 0.5755, detection precision 0.8531, correction recall 0.9144, correction precision 0.9531\n",
      "Epoch 2, Step 4276/8882, Total Step 22040, loss 0.01808, detection recall 0.5615, detection precision 0.8750, correction recall 0.9077, correction precision 0.9605\n",
      "Epoch 2, Step 4296/8882, Total Step 22060, loss 0.01778, detection recall 0.5168, detection precision 0.8561, correction recall 0.8979, correction precision 0.9462\n",
      "Epoch 2, Step 4316/8882, Total Step 22080, loss 0.01871, detection recall 0.5603, detection precision 0.8674, correction recall 0.8918, correction precision 0.9350\n",
      "Epoch 2, Step 4336/8882, Total Step 22100, loss 0.01477, detection recall 0.5663, detection precision 0.8928, correction recall 0.9130, correction precision 0.9523\n",
      "Epoch 2, Step 4356/8882, Total Step 22120, loss 0.01885, detection recall 0.5461, detection precision 0.8394, correction recall 0.9045, correction precision 0.9595\n",
      "Epoch 2, Step 4376/8882, Total Step 22140, loss 0.01335, detection recall 0.5727, detection precision 0.8663, correction recall 0.9228, correction precision 0.9615\n",
      "Epoch 2, Step 4396/8882, Total Step 22160, loss 0.01306, detection recall 0.5588, detection precision 0.8713, correction recall 0.9095, correction precision 0.9537\n",
      "Epoch 2, Step 4416/8882, Total Step 22180, loss 0.01724, detection recall 0.5784, detection precision 0.8739, correction recall 0.9010, correction precision 0.9452\n",
      "Epoch 2, Step 4436/8882, Total Step 22200, loss 0.01322, detection recall 0.5633, detection precision 0.8825, correction recall 0.9171, correction precision 0.9601\n",
      "Epoch 2, Step 4456/8882, Total Step 22220, loss 0.01297, detection recall 0.5548, detection precision 0.8663, correction recall 0.9258, correction precision 0.9620\n",
      "Epoch 2, Step 4476/8882, Total Step 22240, loss 0.01507, detection recall 0.5493, detection precision 0.8826, correction recall 0.9147, correction precision 0.9683\n",
      "Epoch 2, Step 4496/8882, Total Step 22260, loss 0.01579, detection recall 0.5739, detection precision 0.8608, correction recall 0.9084, correction precision 0.9577\n",
      "Epoch 2, Step 4516/8882, Total Step 22280, loss 0.01334, detection recall 0.5918, detection precision 0.8995, correction recall 0.9225, correction precision 0.9597\n",
      "Epoch 2, Step 4536/8882, Total Step 22300, loss 0.01596, detection recall 0.5501, detection precision 0.8985, correction recall 0.9168, correction precision 0.9656\n",
      "Epoch 2, Step 4556/8882, Total Step 22320, loss 0.01435, detection recall 0.5570, detection precision 0.8538, correction recall 0.9221, correction precision 0.9633\n",
      "Epoch 2, Step 4576/8882, Total Step 22340, loss 0.01552, detection recall 0.6237, detection precision 0.8967, correction recall 0.9088, correction precision 0.9443\n",
      "Epoch 2, Step 4596/8882, Total Step 22360, loss 0.01626, detection recall 0.5341, detection precision 0.8755, correction recall 0.9086, correction precision 0.9560\n",
      "Epoch 2, Step 4616/8882, Total Step 22380, loss 0.01518, detection recall 0.5640, detection precision 0.8780, correction recall 0.9161, correction precision 0.9573\n",
      "Epoch 2, Step 4636/8882, Total Step 22400, loss 0.01444, detection recall 0.5582, detection precision 0.8589, correction recall 0.9161, correction precision 0.9579\n",
      "Epoch 2, Step 4656/8882, Total Step 22420, loss 0.01700, detection recall 0.5518, detection precision 0.8520, correction recall 0.9052, correction precision 0.9542\n",
      "Epoch 2, Step 4676/8882, Total Step 22440, loss 0.01457, detection recall 0.5769, detection precision 0.8908, correction recall 0.9214, correction precision 0.9602\n",
      "Epoch 2, Step 4696/8882, Total Step 22460, loss 0.01611, detection recall 0.5330, detection precision 0.8754, correction recall 0.9122, correction precision 0.9634\n",
      "Epoch 2, Step 4716/8882, Total Step 22480, loss 0.01547, detection recall 0.6075, detection precision 0.8816, correction recall 0.9030, correction precision 0.9468\n",
      "Epoch 2, Step 4736/8882, Total Step 22500, loss 0.01270, detection recall 0.5754, detection precision 0.8425, correction recall 0.9287, correction precision 0.9636\n",
      "Epoch 2, Step 4756/8882, Total Step 22520, loss 0.01384, detection recall 0.5810, detection precision 0.8917, correction recall 0.9283, correction precision 0.9712\n",
      "Epoch 2, Step 4776/8882, Total Step 22540, loss 0.01411, detection recall 0.5608, detection precision 0.8748, correction recall 0.9220, correction precision 0.9459\n",
      "Epoch 2, Step 4796/8882, Total Step 22560, loss 0.01670, detection recall 0.5573, detection precision 0.8779, correction recall 0.9045, correction precision 0.9448\n",
      "Epoch 2, Step 4816/8882, Total Step 22580, loss 0.01521, detection recall 0.5841, detection precision 0.8848, correction recall 0.9182, correction precision 0.9591\n",
      "Epoch 2, Step 4836/8882, Total Step 22600, loss 0.01586, detection recall 0.5760, detection precision 0.8936, correction recall 0.9051, correction precision 0.9600\n",
      "Epoch 2, Step 4856/8882, Total Step 22620, loss 0.01508, detection recall 0.5710, detection precision 0.8864, correction recall 0.9124, correction precision 0.9548\n",
      "Epoch 2, Step 4876/8882, Total Step 22640, loss 0.01361, detection recall 0.5949, detection precision 0.8733, correction recall 0.9333, correction precision 0.9689\n",
      "Epoch 2, Step 4896/8882, Total Step 22660, loss 0.01649, detection recall 0.5640, detection precision 0.8550, correction recall 0.9021, correction precision 0.9564\n",
      "Epoch 2, Step 4916/8882, Total Step 22680, loss 0.01482, detection recall 0.5531, detection precision 0.8654, correction recall 0.9274, correction precision 0.9584\n",
      "Epoch 2, Step 4936/8882, Total Step 22700, loss 0.01448, detection recall 0.5751, detection precision 0.8786, correction recall 0.9139, correction precision 0.9550\n",
      "Epoch 2, Step 4956/8882, Total Step 22720, loss 0.01312, detection recall 0.5588, detection precision 0.8796, correction recall 0.9324, correction precision 0.9590\n",
      "Epoch 2, Step 4976/8882, Total Step 22740, loss 0.01588, detection recall 0.5623, detection precision 0.8836, correction recall 0.9080, correction precision 0.9551\n",
      "Epoch 2, Step 4996/8882, Total Step 22760, loss 0.01293, detection recall 0.6042, detection precision 0.8934, correction recall 0.9235, correction precision 0.9619\n",
      "Epoch 2, Step 5016/8882, Total Step 22780, loss 0.01502, detection recall 0.5826, detection precision 0.8562, correction recall 0.9196, correction precision 0.9559\n",
      "Epoch 2, Step 5036/8882, Total Step 22800, loss 0.01510, detection recall 0.5602, detection precision 0.9062, correction recall 0.9125, correction precision 0.9571\n",
      "Epoch 2, Step 5056/8882, Total Step 22820, loss 0.01619, detection recall 0.5536, detection precision 0.8721, correction recall 0.9098, correction precision 0.9472\n",
      "Epoch 2, Step 5076/8882, Total Step 22840, loss 0.01364, detection recall 0.5971, detection precision 0.8779, correction recall 0.9237, correction precision 0.9559\n",
      "Epoch 2, Step 5096/8882, Total Step 22860, loss 0.01494, detection recall 0.5927, detection precision 0.8891, correction recall 0.9150, correction precision 0.9628\n",
      "Epoch 2, Step 5116/8882, Total Step 22880, loss 0.01545, detection recall 0.5774, detection precision 0.8895, correction recall 0.9238, correction precision 0.9581\n",
      "Epoch 2, Step 5136/8882, Total Step 22900, loss 0.01414, detection recall 0.5770, detection precision 0.8960, correction recall 0.9219, correction precision 0.9571\n",
      "Epoch 2, Step 5156/8882, Total Step 22920, loss 0.01688, detection recall 0.5722, detection precision 0.8621, correction recall 0.9030, correction precision 0.9468\n",
      "Epoch 2, Step 5176/8882, Total Step 22940, loss 0.01269, detection recall 0.5921, detection precision 0.8942, correction recall 0.9311, correction precision 0.9615\n",
      "Epoch 2, Step 5196/8882, Total Step 22960, loss 0.01434, detection recall 0.5853, detection precision 0.8916, correction recall 0.9153, correction precision 0.9529\n",
      "Epoch 2, Step 5216/8882, Total Step 22980, loss 0.01472, detection recall 0.5713, detection precision 0.8759, correction recall 0.9156, correction precision 0.9560\n",
      "Epoch 2, Step 5236/8882, Total Step 23000, loss 0.01513, detection recall 0.5538, detection precision 0.8486, correction recall 0.9134, correction precision 0.9493\n",
      "Epoch 2, Step 5256/8882, Total Step 23020, loss 0.01440, detection recall 0.5726, detection precision 0.8930, correction recall 0.9177, correction precision 0.9594\n",
      "Epoch 2, Step 5276/8882, Total Step 23040, loss 0.01474, detection recall 0.5602, detection precision 0.8695, correction recall 0.9159, correction precision 0.9572\n",
      "Epoch 2, Step 5296/8882, Total Step 23060, loss 0.01338, detection recall 0.5683, detection precision 0.8799, correction recall 0.9202, correction precision 0.9590\n",
      "Epoch 2, Step 5316/8882, Total Step 23080, loss 0.01679, detection recall 0.5569, detection precision 0.8848, correction recall 0.9051, correction precision 0.9408\n",
      "Epoch 2, Step 5336/8882, Total Step 23100, loss 0.01656, detection recall 0.5589, detection precision 0.8287, correction recall 0.9021, correction precision 0.9382\n",
      "Epoch 2, Step 5356/8882, Total Step 23120, loss 0.01444, detection recall 0.5835, detection precision 0.8822, correction recall 0.9198, correction precision 0.9627\n",
      "Epoch 2, Step 5376/8882, Total Step 23140, loss 0.01381, detection recall 0.5797, detection precision 0.8814, correction recall 0.9185, correction precision 0.9472\n",
      "Epoch 2, Step 5396/8882, Total Step 23160, loss 0.01740, detection recall 0.5479, detection precision 0.8706, correction recall 0.8944, correction precision 0.9388\n",
      "Epoch 2, Step 5416/8882, Total Step 23180, loss 0.01315, detection recall 0.5771, detection precision 0.9129, correction recall 0.9240, correction precision 0.9611\n",
      "Epoch 2, Step 5436/8882, Total Step 23200, loss 0.01556, detection recall 0.5847, detection precision 0.8671, correction recall 0.9301, correction precision 0.9477\n",
      "Epoch 2, Step 5456/8882, Total Step 23220, loss 0.01390, detection recall 0.5558, detection precision 0.8788, correction recall 0.9132, correction precision 0.9654\n",
      "Epoch 2, Step 5476/8882, Total Step 23240, loss 0.01485, detection recall 0.5622, detection precision 0.8869, correction recall 0.9115, correction precision 0.9509\n",
      "Epoch 2, Step 5496/8882, Total Step 23260, loss 0.01290, detection recall 0.6192, detection precision 0.8940, correction recall 0.9299, correction precision 0.9682\n",
      "Epoch 2, Step 5516/8882, Total Step 23280, loss 0.01446, detection recall 0.5669, detection precision 0.8769, correction recall 0.9215, correction precision 0.9553\n",
      "Epoch 2, Step 5536/8882, Total Step 23300, loss 0.01353, detection recall 0.5856, detection precision 0.8934, correction recall 0.9302, correction precision 0.9535\n",
      "Epoch 2, Step 5556/8882, Total Step 23320, loss 0.01662, detection recall 0.5627, detection precision 0.8868, correction recall 0.9164, correction precision 0.9596\n",
      "Epoch 2, Step 5576/8882, Total Step 23340, loss 0.01544, detection recall 0.5617, detection precision 0.8953, correction recall 0.9207, correction precision 0.9667\n",
      "Epoch 2, Step 5596/8882, Total Step 23360, loss 0.01836, detection recall 0.5479, detection precision 0.8748, correction recall 0.9009, correction precision 0.9473\n",
      "Epoch 2, Step 5616/8882, Total Step 23380, loss 0.01588, detection recall 0.5702, detection precision 0.8881, correction recall 0.9127, correction precision 0.9571\n",
      "Epoch 2, Step 5636/8882, Total Step 23400, loss 0.01341, detection recall 0.5494, detection precision 0.8298, correction recall 0.9217, correction precision 0.9598\n",
      "Epoch 2, Step 5656/8882, Total Step 23420, loss 0.01647, detection recall 0.5782, detection precision 0.8950, correction recall 0.9057, correction precision 0.9528\n",
      "Epoch 2, Step 5676/8882, Total Step 23440, loss 0.01788, detection recall 0.5575, detection precision 0.8770, correction recall 0.9050, correction precision 0.9441\n",
      "Epoch 2, Step 5696/8882, Total Step 23460, loss 0.01225, detection recall 0.5729, detection precision 0.8748, correction recall 0.9351, correction precision 0.9682\n",
      "Epoch 2, Step 5716/8882, Total Step 23480, loss 0.01443, detection recall 0.6044, detection precision 0.8786, correction recall 0.9209, correction precision 0.9688\n",
      "Epoch 2, Step 5736/8882, Total Step 23500, loss 0.01625, detection recall 0.5574, detection precision 0.8881, correction recall 0.8952, correction precision 0.9381\n",
      "Epoch 2, Step 5756/8882, Total Step 23520, loss 0.01689, detection recall 0.5768, detection precision 0.8870, correction recall 0.9154, correction precision 0.9569\n",
      "Epoch 2, Step 5776/8882, Total Step 23540, loss 0.01692, detection recall 0.5828, detection precision 0.8657, correction recall 0.9063, correction precision 0.9509\n",
      "Epoch 2, Step 5796/8882, Total Step 23560, loss 0.01590, detection recall 0.5694, detection precision 0.8654, correction recall 0.9115, correction precision 0.9456\n",
      "Epoch 2, Step 5816/8882, Total Step 23580, loss 0.01430, detection recall 0.5836, detection precision 0.8740, correction recall 0.9202, correction precision 0.9612\n",
      "Epoch 2, Step 5836/8882, Total Step 23600, loss 0.01566, detection recall 0.5714, detection precision 0.8790, correction recall 0.9081, correction precision 0.9436\n",
      "Epoch 2, Step 5856/8882, Total Step 23620, loss 0.01974, detection recall 0.5430, detection precision 0.8603, correction recall 0.8977, correction precision 0.9450\n",
      "Epoch 2, Step 5876/8882, Total Step 23640, loss 0.01429, detection recall 0.5786, detection precision 0.8908, correction recall 0.9116, correction precision 0.9478\n",
      "Epoch 2, Step 5896/8882, Total Step 23660, loss 0.01459, detection recall 0.5622, detection precision 0.8626, correction recall 0.9170, correction precision 0.9633\n",
      "Epoch 2, Step 5916/8882, Total Step 23680, loss 0.01505, detection recall 0.5457, detection precision 0.8626, correction recall 0.9175, correction precision 0.9597\n",
      "Epoch 2, Step 5936/8882, Total Step 23700, loss 0.01551, detection recall 0.5661, detection precision 0.8844, correction recall 0.9047, correction precision 0.9550\n",
      "Epoch 2, Step 5956/8882, Total Step 23720, loss 0.01621, detection recall 0.5548, detection precision 0.8836, correction recall 0.9081, correction precision 0.9502\n",
      "Epoch 2, Step 5976/8882, Total Step 23740, loss 0.01549, detection recall 0.5628, detection precision 0.8956, correction recall 0.9077, correction precision 0.9455\n",
      "Epoch 2, Step 5996/8882, Total Step 23760, loss 0.01629, detection recall 0.5716, detection precision 0.8752, correction recall 0.9141, correction precision 0.9529\n",
      "Epoch 2, Step 6016/8882, Total Step 23780, loss 0.01405, detection recall 0.5816, detection precision 0.8909, correction recall 0.9266, correction precision 0.9570\n",
      "Epoch 2, Step 6036/8882, Total Step 23800, loss 0.01733, detection recall 0.5619, detection precision 0.8400, correction recall 0.8974, correction precision 0.9426\n",
      "Epoch 2, Step 6056/8882, Total Step 23820, loss 0.01609, detection recall 0.5516, detection precision 0.8527, correction recall 0.9036, correction precision 0.9482\n",
      "Epoch 2, Step 6076/8882, Total Step 23840, loss 0.01428, detection recall 0.6067, detection precision 0.8846, correction recall 0.9163, correction precision 0.9592\n",
      "Epoch 2, Step 6096/8882, Total Step 23860, loss 0.01787, detection recall 0.5548, detection precision 0.8702, correction recall 0.8993, correction precision 0.9492\n",
      "Epoch 2, Step 6116/8882, Total Step 23880, loss 0.01685, detection recall 0.5889, detection precision 0.8990, correction recall 0.9067, correction precision 0.9446\n",
      "Epoch 2, Step 6136/8882, Total Step 23900, loss 0.01507, detection recall 0.5604, detection precision 0.8703, correction recall 0.9088, correction precision 0.9517\n",
      "Epoch 2, Step 6156/8882, Total Step 23920, loss 0.01549, detection recall 0.5733, detection precision 0.8696, correction recall 0.9096, correction precision 0.9649\n",
      "Epoch 2, Step 6176/8882, Total Step 23940, loss 0.01353, detection recall 0.5598, detection precision 0.8683, correction recall 0.9218, correction precision 0.9483\n",
      "Epoch 2, Step 6196/8882, Total Step 23960, loss 0.01462, detection recall 0.5934, detection precision 0.8677, correction recall 0.9210, correction precision 0.9652\n",
      "Epoch 2, Step 6216/8882, Total Step 23980, loss 0.01683, detection recall 0.5522, detection precision 0.8496, correction recall 0.9067, correction precision 0.9589\n",
      "Epoch 2, Step 6236/8882, Total Step 24000, loss 0.01365, detection recall 0.5751, detection precision 0.8730, correction recall 0.9249, correction precision 0.9631\n",
      "Epoch 2, Step 6256/8882, Total Step 24020, loss 0.01441, detection recall 0.5705, detection precision 0.8547, correction recall 0.9098, correction precision 0.9596\n",
      "Epoch 2, Step 6276/8882, Total Step 24040, loss 0.01539, detection recall 0.5579, detection precision 0.8446, correction recall 0.9159, correction precision 0.9534\n",
      "Epoch 2, Step 6296/8882, Total Step 24060, loss 0.01714, detection recall 0.5459, detection precision 0.8873, correction recall 0.9049, correction precision 0.9484\n",
      "Epoch 2, Step 6316/8882, Total Step 24080, loss 0.01656, detection recall 0.5818, detection precision 0.8645, correction recall 0.9021, correction precision 0.9463\n",
      "Epoch 2, Step 6336/8882, Total Step 24100, loss 0.01368, detection recall 0.5818, detection precision 0.8782, correction recall 0.9305, correction precision 0.9562\n",
      "Epoch 2, Step 6356/8882, Total Step 24120, loss 0.01364, detection recall 0.5596, detection precision 0.8552, correction recall 0.9130, correction precision 0.9635\n",
      "Epoch 2, Step 6376/8882, Total Step 24140, loss 0.01237, detection recall 0.5918, detection precision 0.8971, correction recall 0.9266, correction precision 0.9553\n",
      "Epoch 2, Step 6396/8882, Total Step 24160, loss 0.01377, detection recall 0.5938, detection precision 0.8716, correction recall 0.9344, correction precision 0.9519\n",
      "Epoch 2, Step 6416/8882, Total Step 24180, loss 0.01487, detection recall 0.6062, detection precision 0.8691, correction recall 0.9183, correction precision 0.9474\n",
      "Epoch 2, Step 6436/8882, Total Step 24200, loss 0.01600, detection recall 0.5677, detection precision 0.8829, correction recall 0.9151, correction precision 0.9530\n",
      "Epoch 2, Step 6456/8882, Total Step 24220, loss 0.01507, detection recall 0.5511, detection precision 0.8969, correction recall 0.9144, correction precision 0.9482\n",
      "Epoch 2, Step 6476/8882, Total Step 24240, loss 0.01287, detection recall 0.6080, detection precision 0.8941, correction recall 0.9303, correction precision 0.9656\n",
      "Epoch 2, Step 6496/8882, Total Step 24260, loss 0.01733, detection recall 0.5558, detection precision 0.8527, correction recall 0.9018, correction precision 0.9495\n",
      "Epoch 2, Step 6516/8882, Total Step 24280, loss 0.01777, detection recall 0.5619, detection precision 0.8729, correction recall 0.9015, correction precision 0.9466\n",
      "Epoch 2, Step 6536/8882, Total Step 24300, loss 0.01637, detection recall 0.5259, detection precision 0.8689, correction recall 0.9140, correction precision 0.9573\n",
      "Epoch 2, Step 6556/8882, Total Step 24320, loss 0.01377, detection recall 0.5751, detection precision 0.8763, correction recall 0.9244, correction precision 0.9530\n",
      "Epoch 2, Step 6576/8882, Total Step 24340, loss 0.01388, detection recall 0.5580, detection precision 0.8907, correction recall 0.9238, correction precision 0.9620\n",
      "Epoch 2, Step 6596/8882, Total Step 24360, loss 0.01290, detection recall 0.5991, detection precision 0.8977, correction recall 0.9317, correction precision 0.9658\n",
      "Epoch 2, Step 6616/8882, Total Step 24380, loss 0.01601, detection recall 0.5744, detection precision 0.8823, correction recall 0.9067, correction precision 0.9533\n",
      "Epoch 2, Step 6636/8882, Total Step 24400, loss 0.01449, detection recall 0.5845, detection precision 0.8600, correction recall 0.9171, correction precision 0.9468\n",
      "Epoch 2, Step 6656/8882, Total Step 24420, loss 0.01699, detection recall 0.5735, detection precision 0.8723, correction recall 0.9039, correction precision 0.9338\n",
      "Epoch 2, Step 6676/8882, Total Step 24440, loss 0.01875, detection recall 0.5464, detection precision 0.8928, correction recall 0.9005, correction precision 0.9487\n",
      "Epoch 2, Step 6696/8882, Total Step 24460, loss 0.01306, detection recall 0.5933, detection precision 0.8909, correction recall 0.9251, correction precision 0.9650\n",
      "Epoch 2, Step 6716/8882, Total Step 24480, loss 0.01447, detection recall 0.5452, detection precision 0.8637, correction recall 0.9269, correction precision 0.9631\n",
      "Epoch 2, Step 6736/8882, Total Step 24500, loss 0.01332, detection recall 0.6022, detection precision 0.8905, correction recall 0.9315, correction precision 0.9590\n",
      "Epoch 2, Step 6756/8882, Total Step 24520, loss 0.01482, detection recall 0.5977, detection precision 0.8900, correction recall 0.9125, correction precision 0.9537\n",
      "Epoch 2, Step 6776/8882, Total Step 24540, loss 0.01608, detection recall 0.5488, detection precision 0.8624, correction recall 0.9135, correction precision 0.9548\n",
      "Epoch 2, Step 6796/8882, Total Step 24560, loss 0.01415, detection recall 0.5849, detection precision 0.8875, correction recall 0.9225, correction precision 0.9631\n",
      "Epoch 2, Step 6816/8882, Total Step 24580, loss 0.01563, detection recall 0.5907, detection precision 0.8880, correction recall 0.9143, correction precision 0.9705\n",
      "Epoch 2, Step 6836/8882, Total Step 24600, loss 0.01358, detection recall 0.5861, detection precision 0.8862, correction recall 0.9168, correction precision 0.9583\n",
      "Epoch 2, Step 6856/8882, Total Step 24620, loss 0.01594, detection recall 0.5490, detection precision 0.8835, correction recall 0.9053, correction precision 0.9476\n",
      "Epoch 2, Step 6876/8882, Total Step 24640, loss 0.01490, detection recall 0.5563, detection precision 0.8512, correction recall 0.9104, correction precision 0.9542\n",
      "Epoch 2, Step 6896/8882, Total Step 24660, loss 0.01507, detection recall 0.5855, detection precision 0.8896, correction recall 0.9229, correction precision 0.9650\n",
      "Epoch 2, Step 6916/8882, Total Step 24680, loss 0.01500, detection recall 0.5702, detection precision 0.8707, correction recall 0.9098, correction precision 0.9522\n",
      "Epoch 2, Step 6936/8882, Total Step 24700, loss 0.01273, detection recall 0.5888, detection precision 0.8463, correction recall 0.9162, correction precision 0.9541\n",
      "Epoch 2, Step 6956/8882, Total Step 24720, loss 0.01510, detection recall 0.5740, detection precision 0.8505, correction recall 0.9159, correction precision 0.9600\n",
      "Epoch 2, Step 6976/8882, Total Step 24740, loss 0.01713, detection recall 0.5561, detection precision 0.8763, correction recall 0.9047, correction precision 0.9494\n",
      "Epoch 2, Step 6996/8882, Total Step 24760, loss 0.01567, detection recall 0.5543, detection precision 0.8640, correction recall 0.9170, correction precision 0.9441\n",
      "Epoch 2, Step 7016/8882, Total Step 24780, loss 0.01546, detection recall 0.5771, detection precision 0.8868, correction recall 0.9116, correction precision 0.9629\n",
      "Epoch 2, Step 7036/8882, Total Step 24800, loss 0.01433, detection recall 0.5759, detection precision 0.8880, correction recall 0.9197, correction precision 0.9539\n",
      "Epoch 2, Step 7056/8882, Total Step 24820, loss 0.01435, detection recall 0.5726, detection precision 0.8647, correction recall 0.9150, correction precision 0.9528\n",
      "Epoch 2, Step 7076/8882, Total Step 24840, loss 0.01461, detection recall 0.5688, detection precision 0.8831, correction recall 0.9017, correction precision 0.9418\n",
      "Epoch 2, Step 7096/8882, Total Step 24860, loss 0.01323, detection recall 0.6163, detection precision 0.8592, correction recall 0.9137, correction precision 0.9549\n",
      "Epoch 2, Step 7116/8882, Total Step 24880, loss 0.01512, detection recall 0.5586, detection precision 0.8808, correction recall 0.9124, correction precision 0.9477\n",
      "Epoch 2, Step 7136/8882, Total Step 24900, loss 0.01383, detection recall 0.5952, detection precision 0.8809, correction recall 0.9286, correction precision 0.9647\n",
      "Epoch 2, Step 7156/8882, Total Step 24920, loss 0.01381, detection recall 0.5809, detection precision 0.8748, correction recall 0.9169, correction precision 0.9566\n",
      "Epoch 2, Step 7176/8882, Total Step 24940, loss 0.01742, detection recall 0.5439, detection precision 0.8732, correction recall 0.9010, correction precision 0.9441\n",
      "Epoch 2, Step 7196/8882, Total Step 24960, loss 0.01495, detection recall 0.5817, detection precision 0.8974, correction recall 0.9177, correction precision 0.9622\n",
      "Epoch 2, Step 7216/8882, Total Step 24980, loss 0.01310, detection recall 0.5954, detection precision 0.8906, correction recall 0.9291, correction precision 0.9644\n",
      "Epoch 2, Step 7236/8882, Total Step 25000, loss 0.01398, detection recall 0.5861, detection precision 0.8734, correction recall 0.9249, correction precision 0.9588\n",
      "Epoch 2, Step 7256/8882, Total Step 25020, loss 0.01566, detection recall 0.5769, detection precision 0.8831, correction recall 0.9215, correction precision 0.9559\n",
      "Epoch 2, Step 7276/8882, Total Step 25040, loss 0.01623, detection recall 0.5515, detection precision 0.8628, correction recall 0.9090, correction precision 0.9496\n",
      "Epoch 2, Step 7296/8882, Total Step 25060, loss 0.01434, detection recall 0.5708, detection precision 0.8850, correction recall 0.9101, correction precision 0.9485\n",
      "Epoch 2, Step 7316/8882, Total Step 25080, loss 0.01780, detection recall 0.5478, detection precision 0.8601, correction recall 0.8891, correction precision 0.9349\n",
      "Epoch 2, Step 7336/8882, Total Step 25100, loss 0.01322, detection recall 0.5653, detection precision 0.8569, correction recall 0.9254, correction precision 0.9690\n",
      "Epoch 2, Step 7356/8882, Total Step 25120, loss 0.01644, detection recall 0.5889, detection precision 0.8829, correction recall 0.8969, correction precision 0.9554\n",
      "Epoch 2, Step 7376/8882, Total Step 25140, loss 0.01434, detection recall 0.5745, detection precision 0.8798, correction recall 0.9192, correction precision 0.9517\n",
      "Epoch 2, Step 7396/8882, Total Step 25160, loss 0.01724, detection recall 0.5949, detection precision 0.8868, correction recall 0.8884, correction precision 0.9415\n",
      "Epoch 2, Step 7416/8882, Total Step 25180, loss 0.01703, detection recall 0.5519, detection precision 0.8709, correction recall 0.9098, correction precision 0.9538\n",
      "Epoch 2, Step 7436/8882, Total Step 25200, loss 0.01308, detection recall 0.5634, detection precision 0.8748, correction recall 0.9258, correction precision 0.9545\n",
      "Epoch 2, Step 7456/8882, Total Step 25220, loss 0.01606, detection recall 0.5772, detection precision 0.8663, correction recall 0.9121, correction precision 0.9563\n",
      "Epoch 2, Step 7476/8882, Total Step 25240, loss 0.01366, detection recall 0.5862, detection precision 0.8993, correction recall 0.9288, correction precision 0.9653\n",
      "Epoch 2, Step 7496/8882, Total Step 25260, loss 0.01407, detection recall 0.5944, detection precision 0.8799, correction recall 0.9289, correction precision 0.9642\n",
      "Epoch 2, Step 7516/8882, Total Step 25280, loss 0.01339, detection recall 0.5918, detection precision 0.9002, correction recall 0.9155, correction precision 0.9514\n",
      "Epoch 2, Step 7536/8882, Total Step 25300, loss 0.01539, detection recall 0.5622, detection precision 0.8655, correction recall 0.9194, correction precision 0.9535\n",
      "Epoch 2, Step 7556/8882, Total Step 25320, loss 0.01430, detection recall 0.5978, detection precision 0.8629, correction recall 0.9184, correction precision 0.9558\n",
      "Epoch 2, Step 7576/8882, Total Step 25340, loss 0.01248, detection recall 0.5739, detection precision 0.8843, correction recall 0.9388, correction precision 0.9725\n",
      "Epoch 2, Step 7596/8882, Total Step 25360, loss 0.01341, detection recall 0.5882, detection precision 0.8754, correction recall 0.9185, correction precision 0.9592\n",
      "Epoch 2, Step 7616/8882, Total Step 25380, loss 0.01663, detection recall 0.5754, detection precision 0.8834, correction recall 0.9120, correction precision 0.9529\n",
      "Epoch 2, Step 7636/8882, Total Step 25400, loss 0.01482, detection recall 0.5689, detection precision 0.8789, correction recall 0.9183, correction precision 0.9404\n",
      "Epoch 2, Step 7656/8882, Total Step 25420, loss 0.01495, detection recall 0.5651, detection precision 0.8729, correction recall 0.9199, correction precision 0.9473\n",
      "Epoch 2, Step 7676/8882, Total Step 25440, loss 0.01597, detection recall 0.5580, detection precision 0.8763, correction recall 0.9103, correction precision 0.9465\n",
      "Epoch 2, Step 7696/8882, Total Step 25460, loss 0.01701, detection recall 0.5302, detection precision 0.8734, correction recall 0.9001, correction precision 0.9425\n",
      "Epoch 2, Step 7716/8882, Total Step 25480, loss 0.01620, detection recall 0.5880, detection precision 0.8613, correction recall 0.8976, correction precision 0.9416\n",
      "Epoch 2, Step 7736/8882, Total Step 25500, loss 0.01586, detection recall 0.5794, detection precision 0.8794, correction recall 0.9195, correction precision 0.9507\n",
      "Epoch 2, Step 7756/8882, Total Step 25520, loss 0.01415, detection recall 0.6046, detection precision 0.8864, correction recall 0.9133, correction precision 0.9484\n",
      "Epoch 2, Step 7776/8882, Total Step 25540, loss 0.01392, detection recall 0.5559, detection precision 0.8535, correction recall 0.9167, correction precision 0.9576\n",
      "Epoch 2, Step 7796/8882, Total Step 25560, loss 0.01712, detection recall 0.5752, detection precision 0.8704, correction recall 0.9100, correction precision 0.9540\n",
      "Epoch 2, Step 7816/8882, Total Step 25580, loss 0.01688, detection recall 0.5867, detection precision 0.8904, correction recall 0.9100, correction precision 0.9479\n",
      "Epoch 2, Step 7836/8882, Total Step 25600, loss 0.01369, detection recall 0.5609, detection precision 0.8866, correction recall 0.9283, correction precision 0.9606\n",
      "Epoch 2, Step 7856/8882, Total Step 25620, loss 0.01531, detection recall 0.5688, detection precision 0.8678, correction recall 0.9177, correction precision 0.9560\n",
      "Epoch 2, Step 7876/8882, Total Step 25640, loss 0.01425, detection recall 0.5884, detection precision 0.8629, correction recall 0.9111, correction precision 0.9650\n",
      "Epoch 2, Step 7896/8882, Total Step 25660, loss 0.01544, detection recall 0.5811, detection precision 0.8885, correction recall 0.9206, correction precision 0.9570\n",
      "Epoch 2, Step 7916/8882, Total Step 25680, loss 0.01613, detection recall 0.5809, detection precision 0.8571, correction recall 0.9142, correction precision 0.9454\n",
      "Epoch 2, Step 7936/8882, Total Step 25700, loss 0.01480, detection recall 0.5928, detection precision 0.8804, correction recall 0.9207, correction precision 0.9657\n",
      "Epoch 2, Step 7956/8882, Total Step 25720, loss 0.01622, detection recall 0.5725, detection precision 0.8468, correction recall 0.9149, correction precision 0.9480\n",
      "Epoch 2, Step 7976/8882, Total Step 25740, loss 0.01427, detection recall 0.5752, detection precision 0.8713, correction recall 0.9325, correction precision 0.9564\n",
      "Epoch 2, Step 7996/8882, Total Step 25760, loss 0.01721, detection recall 0.5835, detection precision 0.8982, correction recall 0.8910, correction precision 0.9458\n",
      "Epoch 2, Step 8016/8882, Total Step 25780, loss 0.01352, detection recall 0.5584, detection precision 0.8948, correction recall 0.9277, correction precision 0.9597\n",
      "Epoch 2, Step 8036/8882, Total Step 25800, loss 0.01575, detection recall 0.5748, detection precision 0.8735, correction recall 0.9010, correction precision 0.9593\n",
      "Epoch 2, Step 8056/8882, Total Step 25820, loss 0.01499, detection recall 0.5821, detection precision 0.8881, correction recall 0.9125, correction precision 0.9413\n",
      "Epoch 2, Step 8076/8882, Total Step 25840, loss 0.01690, detection recall 0.5740, detection precision 0.8567, correction recall 0.9107, correction precision 0.9516\n",
      "Epoch 2, Step 8096/8882, Total Step 25860, loss 0.01531, detection recall 0.5927, detection precision 0.8727, correction recall 0.9204, correction precision 0.9608\n",
      "Epoch 2, Step 8116/8882, Total Step 25880, loss 0.01410, detection recall 0.5964, detection precision 0.8679, correction recall 0.9126, correction precision 0.9498\n",
      "Epoch 2, Step 8136/8882, Total Step 25900, loss 0.01688, detection recall 0.5808, detection precision 0.8692, correction recall 0.9115, correction precision 0.9515\n",
      "Epoch 2, Step 8156/8882, Total Step 25920, loss 0.01525, detection recall 0.5935, detection precision 0.8798, correction recall 0.9054, correction precision 0.9526\n",
      "Epoch 2, Step 8176/8882, Total Step 25940, loss 0.01658, detection recall 0.5831, detection precision 0.8637, correction recall 0.9124, correction precision 0.9503\n",
      "Epoch 2, Step 8196/8882, Total Step 25960, loss 0.01320, detection recall 0.5483, detection precision 0.8821, correction recall 0.9290, correction precision 0.9632\n",
      "Epoch 2, Step 8216/8882, Total Step 25980, loss 0.01529, detection recall 0.6145, detection precision 0.8900, correction recall 0.9218, correction precision 0.9621\n",
      "Epoch 2, Step 8236/8882, Total Step 26000, loss 0.01355, detection recall 0.6117, detection precision 0.8792, correction recall 0.9259, correction precision 0.9621\n",
      "Epoch 2, Step 8256/8882, Total Step 26020, loss 0.01514, detection recall 0.5591, detection precision 0.8599, correction recall 0.9156, correction precision 0.9622\n",
      "Epoch 2, Step 8276/8882, Total Step 26040, loss 0.01478, detection recall 0.5839, detection precision 0.8729, correction recall 0.9194, correction precision 0.9619\n",
      "Epoch 2, Step 8296/8882, Total Step 26060, loss 0.01741, detection recall 0.5861, detection precision 0.8734, correction recall 0.9029, correction precision 0.9413\n",
      "Epoch 2, Step 8316/8882, Total Step 26080, loss 0.01591, detection recall 0.5793, detection precision 0.8928, correction recall 0.9163, correction precision 0.9504\n",
      "Epoch 2, Step 8336/8882, Total Step 26100, loss 0.01485, detection recall 0.5904, detection precision 0.8851, correction recall 0.9113, correction precision 0.9563\n",
      "Epoch 2, Step 8356/8882, Total Step 26120, loss 0.01482, detection recall 0.5669, detection precision 0.8712, correction recall 0.9151, correction precision 0.9524\n",
      "Epoch 2, Step 8376/8882, Total Step 26140, loss 0.01331, detection recall 0.6059, detection precision 0.8740, correction recall 0.9269, correction precision 0.9604\n",
      "Epoch 2, Step 8396/8882, Total Step 26160, loss 0.01692, detection recall 0.5784, detection precision 0.8719, correction recall 0.9129, correction precision 0.9555\n",
      "Epoch 2, Step 8416/8882, Total Step 26180, loss 0.01493, detection recall 0.5867, detection precision 0.8791, correction recall 0.9160, correction precision 0.9453\n",
      "Epoch 2, Step 8436/8882, Total Step 26200, loss 0.01802, detection recall 0.5717, detection precision 0.8691, correction recall 0.9095, correction precision 0.9615\n",
      "Epoch 2, Step 8456/8882, Total Step 26220, loss 0.01538, detection recall 0.5471, detection precision 0.8818, correction recall 0.9139, correction precision 0.9504\n",
      "Epoch 2, Step 8476/8882, Total Step 26240, loss 0.01388, detection recall 0.5860, detection precision 0.9125, correction recall 0.9174, correction precision 0.9592\n",
      "Epoch 2, Step 8496/8882, Total Step 26260, loss 0.01637, detection recall 0.5690, detection precision 0.8531, correction recall 0.9076, correction precision 0.9488\n",
      "Epoch 2, Step 8516/8882, Total Step 26280, loss 0.01496, detection recall 0.5909, detection precision 0.8674, correction recall 0.9130, correction precision 0.9534\n",
      "Epoch 2, Step 8536/8882, Total Step 26300, loss 0.01317, detection recall 0.6087, detection precision 0.8817, correction recall 0.9241, correction precision 0.9628\n",
      "Epoch 2, Step 8556/8882, Total Step 26320, loss 0.01520, detection recall 0.5508, detection precision 0.8785, correction recall 0.9249, correction precision 0.9604\n",
      "Epoch 2, Step 8576/8882, Total Step 26340, loss 0.01615, detection recall 0.5792, detection precision 0.8805, correction recall 0.9192, correction precision 0.9584\n",
      "Epoch 2, Step 8596/8882, Total Step 26360, loss 0.01339, detection recall 0.5780, detection precision 0.8699, correction recall 0.9169, correction precision 0.9556\n",
      "Epoch 2, Step 8616/8882, Total Step 26380, loss 0.01531, detection recall 0.6211, detection precision 0.8868, correction recall 0.9262, correction precision 0.9535\n",
      "Epoch 2, Step 8636/8882, Total Step 26400, loss 0.01330, detection recall 0.5821, detection precision 0.8837, correction recall 0.9267, correction precision 0.9517\n",
      "Epoch 2, Step 8656/8882, Total Step 26420, loss 0.01438, detection recall 0.5562, detection precision 0.8711, correction recall 0.9143, correction precision 0.9481\n",
      "Epoch 2, Step 8676/8882, Total Step 26440, loss 0.01459, detection recall 0.5832, detection precision 0.8642, correction recall 0.9151, correction precision 0.9501\n",
      "Epoch 2, Step 8696/8882, Total Step 26460, loss 0.01151, detection recall 0.5956, detection precision 0.8934, correction recall 0.9377, correction precision 0.9717\n",
      "Epoch 2, Step 8716/8882, Total Step 26480, loss 0.01347, detection recall 0.6073, detection precision 0.8843, correction recall 0.9217, correction precision 0.9632\n",
      "Epoch 2, Step 8736/8882, Total Step 26500, loss 0.01204, detection recall 0.5831, detection precision 0.8760, correction recall 0.9384, correction precision 0.9737\n",
      "Epoch 2, Step 8756/8882, Total Step 26520, loss 0.01361, detection recall 0.5764, detection precision 0.8953, correction recall 0.9213, correction precision 0.9579\n",
      "Epoch 2, Step 8776/8882, Total Step 26540, loss 0.01477, detection recall 0.5453, detection precision 0.8743, correction recall 0.9161, correction precision 0.9443\n",
      "Epoch 2, Step 8796/8882, Total Step 26560, loss 0.01339, detection recall 0.5973, detection precision 0.8861, correction recall 0.9177, correction precision 0.9672\n",
      "Epoch 2, Step 8816/8882, Total Step 26580, loss 0.01316, detection recall 0.6033, detection precision 0.8632, correction recall 0.9187, correction precision 0.9609\n",
      "Epoch 2, Step 8836/8882, Total Step 26600, loss 0.01185, detection recall 0.5821, detection precision 0.8699, correction recall 0.9361, correction precision 0.9648\n",
      "Epoch 2, Step 8856/8882, Total Step 26620, loss 0.01420, detection recall 0.6023, detection precision 0.8801, correction recall 0.9202, correction precision 0.9442\n",
      "Epoch 2, Step 8876/8882, Total Step 26640, loss 0.01633, detection recall 0.5991, detection precision 0.8766, correction recall 0.9047, correction precision 0.9505\n",
      "Epoch 3, Step 14/8882, Total Step 26660, loss 0.01254, detection recall 0.5960, detection precision 0.8935, correction recall 0.9360, correction precision 0.9640\n",
      "Epoch 3, Step 34/8882, Total Step 26680, loss 0.00994, detection recall 0.6126, detection precision 0.8648, correction recall 0.9478, correction precision 0.9754\n",
      "Epoch 3, Step 54/8882, Total Step 26700, loss 0.01070, detection recall 0.5807, detection precision 0.8701, correction recall 0.9506, correction precision 0.9752\n",
      "Epoch 3, Step 74/8882, Total Step 26720, loss 0.00831, detection recall 0.6147, detection precision 0.8776, correction recall 0.9543, correction precision 0.9717\n",
      "Epoch 3, Step 94/8882, Total Step 26740, loss 0.00999, detection recall 0.6086, detection precision 0.8790, correction recall 0.9405, correction precision 0.9737\n",
      "Epoch 3, Step 114/8882, Total Step 26760, loss 0.00945, detection recall 0.6128, detection precision 0.8941, correction recall 0.9461, correction precision 0.9806\n",
      "Epoch 3, Step 134/8882, Total Step 26780, loss 0.01086, detection recall 0.5785, detection precision 0.8500, correction recall 0.9484, correction precision 0.9785\n",
      "Epoch 3, Step 154/8882, Total Step 26800, loss 0.00832, detection recall 0.5932, detection precision 0.8834, correction recall 0.9647, correction precision 0.9777\n",
      "Epoch 3, Step 174/8882, Total Step 26820, loss 0.00872, detection recall 0.5946, detection precision 0.8771, correction recall 0.9583, correction precision 0.9850\n",
      "Epoch 3, Step 194/8882, Total Step 26840, loss 0.00941, detection recall 0.6015, detection precision 0.8669, correction recall 0.9549, correction precision 0.9759\n",
      "Epoch 3, Step 214/8882, Total Step 26860, loss 0.00997, detection recall 0.5877, detection precision 0.8918, correction recall 0.9463, correction precision 0.9762\n",
      "Epoch 3, Step 234/8882, Total Step 26880, loss 0.00965, detection recall 0.5978, detection precision 0.8750, correction recall 0.9449, correction precision 0.9802\n",
      "Epoch 3, Step 254/8882, Total Step 26900, loss 0.00831, detection recall 0.5719, detection precision 0.8683, correction recall 0.9600, correction precision 0.9779\n",
      "Epoch 3, Step 274/8882, Total Step 26920, loss 0.00907, detection recall 0.5874, detection precision 0.8762, correction recall 0.9491, correction precision 0.9739\n",
      "Epoch 3, Step 294/8882, Total Step 26940, loss 0.00759, detection recall 0.6130, detection precision 0.8824, correction recall 0.9664, correction precision 0.9852\n",
      "Epoch 3, Step 314/8882, Total Step 26960, loss 0.01170, detection recall 0.5879, detection precision 0.8699, correction recall 0.9385, correction precision 0.9760\n",
      "Epoch 3, Step 334/8882, Total Step 26980, loss 0.00773, detection recall 0.6099, detection precision 0.8748, correction recall 0.9724, correction precision 0.9810\n",
      "Epoch 3, Step 354/8882, Total Step 27000, loss 0.01010, detection recall 0.5876, detection precision 0.8910, correction recall 0.9461, correction precision 0.9723\n",
      "Epoch 3, Step 374/8882, Total Step 27020, loss 0.00897, detection recall 0.5853, detection precision 0.8870, correction recall 0.9424, correction precision 0.9630\n",
      "Epoch 3, Step 394/8882, Total Step 27040, loss 0.00998, detection recall 0.5962, detection precision 0.8625, correction recall 0.9441, correction precision 0.9657\n",
      "Epoch 3, Step 414/8882, Total Step 27060, loss 0.00896, detection recall 0.5841, detection precision 0.8932, correction recall 0.9541, correction precision 0.9809\n",
      "Epoch 3, Step 434/8882, Total Step 27080, loss 0.00975, detection recall 0.6158, detection precision 0.9023, correction recall 0.9525, correction precision 0.9734\n",
      "Epoch 3, Step 454/8882, Total Step 27100, loss 0.00781, detection recall 0.6284, detection precision 0.8689, correction recall 0.9636, correction precision 0.9831\n",
      "Epoch 3, Step 474/8882, Total Step 27120, loss 0.00984, detection recall 0.5742, detection precision 0.8637, correction recall 0.9498, correction precision 0.9764\n",
      "Epoch 3, Step 494/8882, Total Step 27140, loss 0.00830, detection recall 0.5911, detection precision 0.8891, correction recall 0.9609, correction precision 0.9806\n",
      "Epoch 3, Step 514/8882, Total Step 27160, loss 0.00938, detection recall 0.6142, detection precision 0.8780, correction recall 0.9446, correction precision 0.9737\n",
      "Epoch 3, Step 534/8882, Total Step 27180, loss 0.00861, detection recall 0.6029, detection precision 0.8904, correction recall 0.9595, correction precision 0.9760\n",
      "Epoch 3, Step 554/8882, Total Step 27200, loss 0.00862, detection recall 0.6054, detection precision 0.8660, correction recall 0.9565, correction precision 0.9795\n",
      "Epoch 3, Step 574/8882, Total Step 27220, loss 0.01149, detection recall 0.5463, detection precision 0.8392, correction recall 0.9357, correction precision 0.9684\n",
      "Epoch 3, Step 594/8882, Total Step 27240, loss 0.01030, detection recall 0.5509, detection precision 0.8731, correction recall 0.9524, correction precision 0.9767\n",
      "Epoch 3, Step 614/8882, Total Step 27260, loss 0.00993, detection recall 0.5793, detection precision 0.8595, correction recall 0.9548, correction precision 0.9764\n",
      "Epoch 3, Step 634/8882, Total Step 27280, loss 0.01079, detection recall 0.5792, detection precision 0.8618, correction recall 0.9497, correction precision 0.9720\n",
      "Epoch 3, Step 654/8882, Total Step 27300, loss 0.01000, detection recall 0.5798, detection precision 0.8927, correction recall 0.9393, correction precision 0.9698\n",
      "Epoch 3, Step 674/8882, Total Step 27320, loss 0.00872, detection recall 0.5814, detection precision 0.8868, correction recall 0.9579, correction precision 0.9807\n",
      "Epoch 3, Step 694/8882, Total Step 27340, loss 0.01236, detection recall 0.6176, detection precision 0.8986, correction recall 0.9303, correction precision 0.9596\n",
      "Epoch 3, Step 714/8882, Total Step 27360, loss 0.00817, detection recall 0.6103, detection precision 0.8784, correction recall 0.9583, correction precision 0.9787\n",
      "Epoch 3, Step 734/8882, Total Step 27380, loss 0.00707, detection recall 0.6205, detection precision 0.8762, correction recall 0.9700, correction precision 0.9813\n",
      "Epoch 3, Step 754/8882, Total Step 27400, loss 0.00968, detection recall 0.6139, detection precision 0.8699, correction recall 0.9502, correction precision 0.9772\n",
      "Epoch 3, Step 774/8882, Total Step 27420, loss 0.00992, detection recall 0.6246, detection precision 0.8822, correction recall 0.9418, correction precision 0.9651\n",
      "Epoch 3, Step 794/8882, Total Step 27440, loss 0.00984, detection recall 0.6243, detection precision 0.8752, correction recall 0.9422, correction precision 0.9679\n",
      "Epoch 3, Step 814/8882, Total Step 27460, loss 0.01003, detection recall 0.5899, detection precision 0.8829, correction recall 0.9464, correction precision 0.9724\n",
      "Epoch 3, Step 834/8882, Total Step 27480, loss 0.01002, detection recall 0.6044, detection precision 0.8837, correction recall 0.9503, correction precision 0.9696\n",
      "Epoch 3, Step 854/8882, Total Step 27500, loss 0.00889, detection recall 0.5910, detection precision 0.8870, correction recall 0.9483, correction precision 0.9848\n",
      "Epoch 3, Step 874/8882, Total Step 27520, loss 0.00882, detection recall 0.6095, detection precision 0.8483, correction recall 0.9651, correction precision 0.9806\n",
      "Epoch 3, Step 894/8882, Total Step 27540, loss 0.00983, detection recall 0.6081, detection precision 0.8683, correction recall 0.9473, correction precision 0.9796\n",
      "Epoch 3, Step 914/8882, Total Step 27560, loss 0.01025, detection recall 0.6061, detection precision 0.8861, correction recall 0.9481, correction precision 0.9722\n",
      "Epoch 3, Step 934/8882, Total Step 27580, loss 0.01120, detection recall 0.5963, detection precision 0.8727, correction recall 0.9397, correction precision 0.9783\n",
      "Epoch 3, Step 954/8882, Total Step 27600, loss 0.00997, detection recall 0.6126, detection precision 0.8525, correction recall 0.9547, correction precision 0.9719\n",
      "Epoch 3, Step 974/8882, Total Step 27620, loss 0.00925, detection recall 0.5861, detection precision 0.8774, correction recall 0.9391, correction precision 0.9717\n",
      "Epoch 3, Step 994/8882, Total Step 27640, loss 0.00991, detection recall 0.5782, detection precision 0.8824, correction recall 0.9471, correction precision 0.9718\n",
      "Epoch 3, Step 1014/8882, Total Step 27660, loss 0.00750, detection recall 0.5908, detection precision 0.8783, correction recall 0.9596, correction precision 0.9761\n",
      "Epoch 3, Step 1034/8882, Total Step 27680, loss 0.00966, detection recall 0.6085, detection precision 0.8615, correction recall 0.9494, correction precision 0.9668\n",
      "Epoch 3, Step 1054/8882, Total Step 27700, loss 0.00890, detection recall 0.6095, detection precision 0.8916, correction recall 0.9524, correction precision 0.9806\n",
      "Epoch 3, Step 1074/8882, Total Step 27720, loss 0.00922, detection recall 0.5886, detection precision 0.8395, correction recall 0.9625, correction precision 0.9826\n",
      "Epoch 3, Step 1094/8882, Total Step 27740, loss 0.01028, detection recall 0.5985, detection precision 0.8738, correction recall 0.9409, correction precision 0.9718\n",
      "Epoch 3, Step 1114/8882, Total Step 27760, loss 0.00945, detection recall 0.6101, detection precision 0.9025, correction recall 0.9575, correction precision 0.9805\n",
      "Epoch 3, Step 1134/8882, Total Step 27780, loss 0.00988, detection recall 0.5775, detection precision 0.8624, correction recall 0.9494, correction precision 0.9769\n",
      "Epoch 3, Step 1154/8882, Total Step 27800, loss 0.00935, detection recall 0.5941, detection precision 0.8842, correction recall 0.9526, correction precision 0.9735\n",
      "Epoch 3, Step 1174/8882, Total Step 27820, loss 0.00915, detection recall 0.6133, detection precision 0.8718, correction recall 0.9526, correction precision 0.9758\n",
      "Epoch 3, Step 1194/8882, Total Step 27840, loss 0.00790, detection recall 0.6000, detection precision 0.8780, correction recall 0.9578, correction precision 0.9696\n",
      "Epoch 3, Step 1214/8882, Total Step 27860, loss 0.00942, detection recall 0.5928, detection precision 0.8978, correction recall 0.9483, correction precision 0.9757\n",
      "Epoch 3, Step 1234/8882, Total Step 27880, loss 0.00953, detection recall 0.5875, detection precision 0.8683, correction recall 0.9570, correction precision 0.9738\n",
      "Epoch 3, Step 1254/8882, Total Step 27900, loss 0.00887, detection recall 0.6014, detection precision 0.8782, correction recall 0.9525, correction precision 0.9739\n",
      "Epoch 3, Step 1274/8882, Total Step 27920, loss 0.01026, detection recall 0.6070, detection precision 0.8681, correction recall 0.9495, correction precision 0.9719\n",
      "Epoch 3, Step 1294/8882, Total Step 27940, loss 0.01017, detection recall 0.5877, detection precision 0.8943, correction recall 0.9427, correction precision 0.9705\n",
      "Epoch 3, Step 1314/8882, Total Step 27960, loss 0.00915, detection recall 0.5919, detection precision 0.8567, correction recall 0.9516, correction precision 0.9752\n",
      "Epoch 3, Step 1334/8882, Total Step 27980, loss 0.01087, detection recall 0.5918, detection precision 0.8452, correction recall 0.9458, correction precision 0.9760\n",
      "Epoch 3, Step 1354/8882, Total Step 28000, loss 0.01040, detection recall 0.6232, detection precision 0.8799, correction recall 0.9425, correction precision 0.9704\n",
      "Epoch 3, Step 1374/8882, Total Step 28020, loss 0.01057, detection recall 0.5798, detection precision 0.8873, correction recall 0.9434, correction precision 0.9754\n",
      "Epoch 3, Step 1394/8882, Total Step 28040, loss 0.01026, detection recall 0.5829, detection precision 0.8691, correction recall 0.9447, correction precision 0.9820\n",
      "Epoch 3, Step 1414/8882, Total Step 28060, loss 0.01043, detection recall 0.6007, detection precision 0.8656, correction recall 0.9397, correction precision 0.9706\n",
      "Epoch 3, Step 1434/8882, Total Step 28080, loss 0.00829, detection recall 0.6313, detection precision 0.8719, correction recall 0.9609, correction precision 0.9762\n",
      "Epoch 3, Step 1454/8882, Total Step 28100, loss 0.01104, detection recall 0.6024, detection precision 0.8661, correction recall 0.9419, correction precision 0.9729\n",
      "Epoch 3, Step 1474/8882, Total Step 28120, loss 0.00852, detection recall 0.5967, detection precision 0.8746, correction recall 0.9567, correction precision 0.9784\n",
      "Epoch 3, Step 1494/8882, Total Step 28140, loss 0.00966, detection recall 0.5718, detection precision 0.8728, correction recall 0.9514, correction precision 0.9728\n",
      "Epoch 3, Step 1514/8882, Total Step 28160, loss 0.01018, detection recall 0.5787, detection precision 0.8885, correction recall 0.9406, correction precision 0.9694\n",
      "Epoch 3, Step 1534/8882, Total Step 28180, loss 0.00870, detection recall 0.6354, detection precision 0.8687, correction recall 0.9611, correction precision 0.9711\n",
      "Epoch 3, Step 1554/8882, Total Step 28200, loss 0.00974, detection recall 0.6155, detection precision 0.8717, correction recall 0.9503, correction precision 0.9696\n",
      "Epoch 3, Step 1574/8882, Total Step 28220, loss 0.00857, detection recall 0.5948, detection precision 0.8833, correction recall 0.9540, correction precision 0.9748\n",
      "Epoch 3, Step 1594/8882, Total Step 28240, loss 0.00933, detection recall 0.5854, detection precision 0.8740, correction recall 0.9599, correction precision 0.9774\n",
      "Epoch 3, Step 1614/8882, Total Step 28260, loss 0.00757, detection recall 0.6390, detection precision 0.8752, correction recall 0.9533, correction precision 0.9847\n",
      "Epoch 3, Step 1634/8882, Total Step 28280, loss 0.00941, detection recall 0.6074, detection precision 0.8660, correction recall 0.9418, correction precision 0.9734\n",
      "Epoch 3, Step 1654/8882, Total Step 28300, loss 0.00939, detection recall 0.6061, detection precision 0.8760, correction recall 0.9424, correction precision 0.9732\n",
      "Epoch 3, Step 1674/8882, Total Step 28320, loss 0.00937, detection recall 0.6073, detection precision 0.9027, correction recall 0.9541, correction precision 0.9708\n",
      "Epoch 3, Step 1694/8882, Total Step 28340, loss 0.01049, detection recall 0.6004, detection precision 0.8684, correction recall 0.9501, correction precision 0.9694\n",
      "Epoch 3, Step 1714/8882, Total Step 28360, loss 0.00781, detection recall 0.6152, detection precision 0.8754, correction recall 0.9620, correction precision 0.9766\n",
      "Epoch 3, Step 1734/8882, Total Step 28380, loss 0.00996, detection recall 0.6002, detection precision 0.8798, correction recall 0.9465, correction precision 0.9685\n",
      "Epoch 3, Step 1754/8882, Total Step 28400, loss 0.01026, detection recall 0.5612, detection precision 0.8630, correction recall 0.9499, correction precision 0.9671\n",
      "Epoch 3, Step 1774/8882, Total Step 28420, loss 0.00951, detection recall 0.6079, detection precision 0.8720, correction recall 0.9438, correction precision 0.9761\n",
      "Epoch 3, Step 1794/8882, Total Step 28440, loss 0.00962, detection recall 0.6293, detection precision 0.8921, correction recall 0.9507, correction precision 0.9714\n",
      "Epoch 3, Step 1814/8882, Total Step 28460, loss 0.00896, detection recall 0.6283, detection precision 0.8715, correction recall 0.9520, correction precision 0.9704\n",
      "Epoch 3, Step 1834/8882, Total Step 28480, loss 0.00896, detection recall 0.6327, detection precision 0.8862, correction recall 0.9451, correction precision 0.9764\n",
      "Epoch 3, Step 1854/8882, Total Step 28500, loss 0.00967, detection recall 0.6158, detection precision 0.8946, correction recall 0.9562, correction precision 0.9792\n",
      "Epoch 3, Step 1874/8882, Total Step 28520, loss 0.00861, detection recall 0.6267, detection precision 0.8854, correction recall 0.9567, correction precision 0.9806\n",
      "Epoch 3, Step 1894/8882, Total Step 28540, loss 0.00875, detection recall 0.6105, detection precision 0.8732, correction recall 0.9574, correction precision 0.9793\n",
      "Epoch 3, Step 1914/8882, Total Step 28560, loss 0.00950, detection recall 0.6047, detection precision 0.8867, correction recall 0.9530, correction precision 0.9737\n",
      "Epoch 3, Step 1934/8882, Total Step 28580, loss 0.00971, detection recall 0.5952, detection precision 0.8460, correction recall 0.9510, correction precision 0.9686\n",
      "Epoch 3, Step 1954/8882, Total Step 28600, loss 0.01031, detection recall 0.6065, detection precision 0.8805, correction recall 0.9402, correction precision 0.9709\n",
      "Epoch 3, Step 1974/8882, Total Step 28620, loss 0.00918, detection recall 0.6256, detection precision 0.8797, correction recall 0.9489, correction precision 0.9694\n",
      "Epoch 3, Step 1994/8882, Total Step 28640, loss 0.00867, detection recall 0.5895, detection precision 0.8748, correction recall 0.9555, correction precision 0.9756\n",
      "Epoch 3, Step 2014/8882, Total Step 28660, loss 0.00813, detection recall 0.6004, detection precision 0.8862, correction recall 0.9642, correction precision 0.9823\n",
      "Epoch 3, Step 2034/8882, Total Step 28680, loss 0.01045, detection recall 0.5942, detection precision 0.8528, correction recall 0.9476, correction precision 0.9714\n",
      "Epoch 3, Step 2054/8882, Total Step 28700, loss 0.01004, detection recall 0.6047, detection precision 0.8847, correction recall 0.9392, correction precision 0.9642\n",
      "Epoch 3, Step 2074/8882, Total Step 28720, loss 0.00911, detection recall 0.6225, detection precision 0.8924, correction recall 0.9581, correction precision 0.9687\n",
      "Epoch 3, Step 2094/8882, Total Step 28740, loss 0.00971, detection recall 0.5958, detection precision 0.8641, correction recall 0.9505, correction precision 0.9741\n",
      "Epoch 3, Step 2114/8882, Total Step 28760, loss 0.00978, detection recall 0.6143, detection precision 0.8901, correction recall 0.9480, correction precision 0.9755\n",
      "Epoch 3, Step 2134/8882, Total Step 28780, loss 0.00984, detection recall 0.5895, detection precision 0.8480, correction recall 0.9522, correction precision 0.9783\n",
      "Epoch 3, Step 2154/8882, Total Step 28800, loss 0.01098, detection recall 0.5989, detection precision 0.8456, correction recall 0.9326, correction precision 0.9690\n",
      "Epoch 3, Step 2174/8882, Total Step 28820, loss 0.00867, detection recall 0.6172, detection precision 0.9071, correction recall 0.9586, correction precision 0.9789\n",
      "Epoch 3, Step 2194/8882, Total Step 28840, loss 0.00939, detection recall 0.6080, detection precision 0.8898, correction recall 0.9557, correction precision 0.9773\n",
      "Epoch 3, Step 2214/8882, Total Step 28860, loss 0.01082, detection recall 0.6030, detection precision 0.8528, correction recall 0.9442, correction precision 0.9724\n",
      "Epoch 3, Step 2234/8882, Total Step 28880, loss 0.00835, detection recall 0.6034, detection precision 0.8734, correction recall 0.9614, correction precision 0.9792\n",
      "Epoch 3, Step 2254/8882, Total Step 28900, loss 0.01074, detection recall 0.6036, detection precision 0.8848, correction recall 0.9362, correction precision 0.9693\n",
      "Epoch 3, Step 2274/8882, Total Step 28920, loss 0.00996, detection recall 0.6181, detection precision 0.8987, correction recall 0.9554, correction precision 0.9777\n",
      "Epoch 3, Step 2294/8882, Total Step 28940, loss 0.01016, detection recall 0.6207, detection precision 0.8722, correction recall 0.9495, correction precision 0.9691\n",
      "Epoch 3, Step 2314/8882, Total Step 28960, loss 0.01193, detection recall 0.6376, detection precision 0.8906, correction recall 0.9362, correction precision 0.9665\n",
      "Epoch 3, Step 2334/8882, Total Step 28980, loss 0.00977, detection recall 0.6210, detection precision 0.8855, correction recall 0.9434, correction precision 0.9675\n",
      "Epoch 3, Step 2354/8882, Total Step 29000, loss 0.00930, detection recall 0.6143, detection precision 0.8940, correction recall 0.9428, correction precision 0.9745\n",
      "Epoch 3, Step 2374/8882, Total Step 29020, loss 0.00934, detection recall 0.6129, detection precision 0.8544, correction recall 0.9501, correction precision 0.9665\n",
      "Epoch 3, Step 2394/8882, Total Step 29040, loss 0.00858, detection recall 0.6326, detection precision 0.8859, correction recall 0.9564, correction precision 0.9777\n",
      "Epoch 3, Step 2414/8882, Total Step 29060, loss 0.00975, detection recall 0.5973, detection precision 0.8657, correction recall 0.9474, correction precision 0.9730\n",
      "Epoch 3, Step 2434/8882, Total Step 29080, loss 0.01014, detection recall 0.5807, detection precision 0.9058, correction recall 0.9495, correction precision 0.9665\n",
      "Epoch 3, Step 2454/8882, Total Step 29100, loss 0.00947, detection recall 0.6233, detection precision 0.8945, correction recall 0.9446, correction precision 0.9732\n",
      "Epoch 3, Step 2474/8882, Total Step 29120, loss 0.01091, detection recall 0.6130, detection precision 0.8833, correction recall 0.9483, correction precision 0.9590\n",
      "Epoch 3, Step 2494/8882, Total Step 29140, loss 0.00817, detection recall 0.6270, detection precision 0.8768, correction recall 0.9531, correction precision 0.9777\n",
      "Epoch 3, Step 2514/8882, Total Step 29160, loss 0.01004, detection recall 0.5982, detection precision 0.8638, correction recall 0.9445, correction precision 0.9715\n",
      "Epoch 3, Step 2534/8882, Total Step 29180, loss 0.00950, detection recall 0.6083, detection precision 0.8658, correction recall 0.9473, correction precision 0.9646\n",
      "Epoch 3, Step 2554/8882, Total Step 29200, loss 0.00912, detection recall 0.6034, detection precision 0.8683, correction recall 0.9537, correction precision 0.9780\n",
      "Epoch 3, Step 2574/8882, Total Step 29220, loss 0.01102, detection recall 0.5917, detection precision 0.9043, correction recall 0.9362, correction precision 0.9643\n",
      "Epoch 3, Step 2594/8882, Total Step 29240, loss 0.00906, detection recall 0.6115, detection precision 0.8656, correction recall 0.9558, correction precision 0.9774\n",
      "Epoch 3, Step 2614/8882, Total Step 29260, loss 0.00954, detection recall 0.6247, detection precision 0.8863, correction recall 0.9543, correction precision 0.9794\n",
      "Epoch 3, Step 2634/8882, Total Step 29280, loss 0.00967, detection recall 0.6037, detection precision 0.8823, correction recall 0.9441, correction precision 0.9691\n",
      "Epoch 3, Step 2654/8882, Total Step 29300, loss 0.01144, detection recall 0.5763, detection precision 0.8621, correction recall 0.9308, correction precision 0.9571\n",
      "Epoch 3, Step 2674/8882, Total Step 29320, loss 0.00925, detection recall 0.6068, detection precision 0.8596, correction recall 0.9510, correction precision 0.9776\n",
      "Epoch 3, Step 2694/8882, Total Step 29340, loss 0.01040, detection recall 0.5887, detection precision 0.8894, correction recall 0.9446, correction precision 0.9682\n",
      "Epoch 3, Step 2714/8882, Total Step 29360, loss 0.01017, detection recall 0.5982, detection precision 0.8709, correction recall 0.9416, correction precision 0.9655\n",
      "Epoch 3, Step 2734/8882, Total Step 29380, loss 0.00932, detection recall 0.6511, detection precision 0.8908, correction recall 0.9487, correction precision 0.9742\n",
      "Epoch 3, Step 2754/8882, Total Step 29400, loss 0.01114, detection recall 0.6013, detection precision 0.8740, correction recall 0.9339, correction precision 0.9751\n",
      "Epoch 3, Step 2774/8882, Total Step 29420, loss 0.00942, detection recall 0.6236, detection precision 0.8814, correction recall 0.9514, correction precision 0.9751\n",
      "Epoch 3, Step 2794/8882, Total Step 29440, loss 0.01024, detection recall 0.6156, detection precision 0.8837, correction recall 0.9417, correction precision 0.9657\n",
      "Epoch 3, Step 2814/8882, Total Step 29460, loss 0.00912, detection recall 0.6234, detection precision 0.8925, correction recall 0.9590, correction precision 0.9825\n",
      "Epoch 3, Step 2834/8882, Total Step 29480, loss 0.00968, detection recall 0.6456, detection precision 0.8800, correction recall 0.9436, correction precision 0.9654\n",
      "Epoch 3, Step 2854/8882, Total Step 29500, loss 0.01076, detection recall 0.6156, detection precision 0.8576, correction recall 0.9433, correction precision 0.9725\n",
      "Epoch 3, Step 2874/8882, Total Step 29520, loss 0.01027, detection recall 0.6132, detection precision 0.8779, correction recall 0.9431, correction precision 0.9662\n",
      "Epoch 3, Step 2894/8882, Total Step 29540, loss 0.00982, detection recall 0.6111, detection precision 0.8569, correction recall 0.9444, correction precision 0.9766\n",
      "Epoch 3, Step 2914/8882, Total Step 29560, loss 0.01006, detection recall 0.6035, detection precision 0.8712, correction recall 0.9493, correction precision 0.9664\n",
      "Epoch 3, Step 2934/8882, Total Step 29580, loss 0.00920, detection recall 0.5901, detection precision 0.8836, correction recall 0.9538, correction precision 0.9758\n",
      "Epoch 3, Step 2954/8882, Total Step 29600, loss 0.00731, detection recall 0.6275, detection precision 0.8649, correction recall 0.9596, correction precision 0.9754\n",
      "Epoch 3, Step 2974/8882, Total Step 29620, loss 0.00901, detection recall 0.6374, detection precision 0.8831, correction recall 0.9470, correction precision 0.9820\n",
      "Epoch 3, Step 2994/8882, Total Step 29640, loss 0.00982, detection recall 0.6080, detection precision 0.8764, correction recall 0.9555, correction precision 0.9651\n",
      "Epoch 3, Step 3014/8882, Total Step 29660, loss 0.00927, detection recall 0.6193, detection precision 0.8585, correction recall 0.9495, correction precision 0.9787\n",
      "Epoch 3, Step 3034/8882, Total Step 29680, loss 0.00941, detection recall 0.6201, detection precision 0.8972, correction recall 0.9515, correction precision 0.9735\n",
      "Epoch 3, Step 3054/8882, Total Step 29700, loss 0.01037, detection recall 0.6197, detection precision 0.8930, correction recall 0.9424, correction precision 0.9605\n",
      "Epoch 3, Step 3074/8882, Total Step 29720, loss 0.00830, detection recall 0.6459, detection precision 0.8891, correction recall 0.9648, correction precision 0.9793\n",
      "Epoch 3, Step 3094/8882, Total Step 29740, loss 0.00988, detection recall 0.6065, detection precision 0.8671, correction recall 0.9492, correction precision 0.9723\n",
      "Epoch 3, Step 3114/8882, Total Step 29760, loss 0.00963, detection recall 0.5882, detection precision 0.8646, correction recall 0.9501, correction precision 0.9794\n",
      "Epoch 3, Step 3134/8882, Total Step 29780, loss 0.00917, detection recall 0.6439, detection precision 0.8881, correction recall 0.9491, correction precision 0.9744\n",
      "Epoch 3, Step 3154/8882, Total Step 29800, loss 0.00965, detection recall 0.5787, detection precision 0.8729, correction recall 0.9490, correction precision 0.9727\n",
      "Epoch 3, Step 3174/8882, Total Step 29820, loss 0.00928, detection recall 0.5950, detection precision 0.8829, correction recall 0.9519, correction precision 0.9652\n",
      "Epoch 3, Step 3194/8882, Total Step 29840, loss 0.01065, detection recall 0.5959, detection precision 0.8441, correction recall 0.9467, correction precision 0.9766\n",
      "Epoch 3, Step 3214/8882, Total Step 29860, loss 0.00891, detection recall 0.6139, detection precision 0.9044, correction recall 0.9556, correction precision 0.9801\n",
      "Epoch 3, Step 3234/8882, Total Step 29880, loss 0.01020, detection recall 0.6221, detection precision 0.8862, correction recall 0.9384, correction precision 0.9682\n",
      "Epoch 3, Step 3254/8882, Total Step 29900, loss 0.00724, detection recall 0.6144, detection precision 0.8982, correction recall 0.9602, correction precision 0.9753\n",
      "Epoch 3, Step 3274/8882, Total Step 29920, loss 0.01011, detection recall 0.5939, detection precision 0.8592, correction recall 0.9457, correction precision 0.9665\n",
      "Epoch 3, Step 3294/8882, Total Step 29940, loss 0.00992, detection recall 0.6131, detection precision 0.8870, correction recall 0.9380, correction precision 0.9646\n",
      "Epoch 3, Step 3314/8882, Total Step 29960, loss 0.00920, detection recall 0.6078, detection precision 0.8611, correction recall 0.9510, correction precision 0.9831\n",
      "Epoch 3, Step 3334/8882, Total Step 29980, loss 0.01050, detection recall 0.6311, detection precision 0.8973, correction recall 0.9556, correction precision 0.9806\n",
      "Epoch 3, Step 3354/8882, Total Step 30000, loss 0.00978, detection recall 0.6242, detection precision 0.8774, correction recall 0.9519, correction precision 0.9659\n",
      "Epoch 3, Step 3374/8882, Total Step 30020, loss 0.01060, detection recall 0.6144, detection precision 0.8756, correction recall 0.9403, correction precision 0.9782\n",
      "Epoch 3, Step 3394/8882, Total Step 30040, loss 0.00991, detection recall 0.6007, detection precision 0.8980, correction recall 0.9430, correction precision 0.9679\n",
      "Epoch 3, Step 3414/8882, Total Step 30060, loss 0.01005, detection recall 0.6089, detection precision 0.8945, correction recall 0.9441, correction precision 0.9650\n",
      "Epoch 3, Step 3434/8882, Total Step 30080, loss 0.00869, detection recall 0.6229, detection precision 0.8580, correction recall 0.9513, correction precision 0.9655\n",
      "Epoch 3, Step 3454/8882, Total Step 30100, loss 0.00951, detection recall 0.5998, detection precision 0.8854, correction recall 0.9457, correction precision 0.9760\n",
      "Epoch 3, Step 3474/8882, Total Step 30120, loss 0.00948, detection recall 0.6043, detection precision 0.8721, correction recall 0.9492, correction precision 0.9680\n",
      "Epoch 3, Step 3494/8882, Total Step 30140, loss 0.01197, detection recall 0.6035, detection precision 0.8458, correction recall 0.9368, correction precision 0.9696\n",
      "Epoch 3, Step 3514/8882, Total Step 30160, loss 0.01014, detection recall 0.5920, detection precision 0.8880, correction recall 0.9420, correction precision 0.9668\n",
      "Epoch 3, Step 3534/8882, Total Step 30180, loss 0.01125, detection recall 0.6284, detection precision 0.8848, correction recall 0.9398, correction precision 0.9673\n",
      "Epoch 3, Step 3554/8882, Total Step 30200, loss 0.00890, detection recall 0.6014, detection precision 0.8954, correction recall 0.9570, correction precision 0.9724\n",
      "Epoch 3, Step 3574/8882, Total Step 30220, loss 0.00874, detection recall 0.6231, detection precision 0.8823, correction recall 0.9557, correction precision 0.9768\n",
      "Epoch 3, Step 3594/8882, Total Step 30240, loss 0.00829, detection recall 0.6272, detection precision 0.8664, correction recall 0.9576, correction precision 0.9789\n",
      "Epoch 3, Step 3614/8882, Total Step 30260, loss 0.00775, detection recall 0.6549, detection precision 0.9024, correction recall 0.9591, correction precision 0.9698\n",
      "Epoch 3, Step 3634/8882, Total Step 30280, loss 0.00957, detection recall 0.6348, detection precision 0.8719, correction recall 0.9431, correction precision 0.9719\n",
      "Epoch 3, Step 3654/8882, Total Step 30300, loss 0.00904, detection recall 0.6194, detection precision 0.8909, correction recall 0.9609, correction precision 0.9642\n",
      "Epoch 3, Step 3674/8882, Total Step 30320, loss 0.00764, detection recall 0.6333, detection precision 0.8765, correction recall 0.9570, correction precision 0.9841\n",
      "Epoch 3, Step 3694/8882, Total Step 30340, loss 0.00925, detection recall 0.6000, detection precision 0.8599, correction recall 0.9551, correction precision 0.9759\n",
      "Epoch 3, Step 3714/8882, Total Step 30360, loss 0.00973, detection recall 0.6061, detection precision 0.8711, correction recall 0.9431, correction precision 0.9773\n",
      "Epoch 3, Step 3734/8882, Total Step 30380, loss 0.00985, detection recall 0.5847, detection precision 0.8931, correction recall 0.9458, correction precision 0.9756\n",
      "Epoch 3, Step 3754/8882, Total Step 30400, loss 0.00939, detection recall 0.6048, detection precision 0.8706, correction recall 0.9562, correction precision 0.9776\n",
      "Epoch 3, Step 3774/8882, Total Step 30420, loss 0.00789, detection recall 0.6239, detection precision 0.8868, correction recall 0.9668, correction precision 0.9787\n",
      "Epoch 3, Step 3794/8882, Total Step 30440, loss 0.01073, detection recall 0.6448, detection precision 0.8733, correction recall 0.9443, correction precision 0.9725\n",
      "Epoch 3, Step 3814/8882, Total Step 30460, loss 0.01068, detection recall 0.6262, detection precision 0.8889, correction recall 0.9438, correction precision 0.9761\n",
      "Epoch 3, Step 3834/8882, Total Step 30480, loss 0.01113, detection recall 0.6050, detection precision 0.8758, correction recall 0.9436, correction precision 0.9710\n",
      "Epoch 3, Step 3854/8882, Total Step 30500, loss 0.00915, detection recall 0.6315, detection precision 0.8891, correction recall 0.9513, correction precision 0.9682\n",
      "Epoch 3, Step 3874/8882, Total Step 30520, loss 0.01058, detection recall 0.6109, detection precision 0.8509, correction recall 0.9465, correction precision 0.9714\n",
      "Epoch 3, Step 3894/8882, Total Step 30540, loss 0.00842, detection recall 0.6596, detection precision 0.8824, correction recall 0.9477, correction precision 0.9771\n",
      "Epoch 3, Step 3914/8882, Total Step 30560, loss 0.01082, detection recall 0.6011, detection precision 0.8560, correction recall 0.9456, correction precision 0.9704\n",
      "Epoch 3, Step 3934/8882, Total Step 30580, loss 0.01006, detection recall 0.6180, detection precision 0.8716, correction recall 0.9438, correction precision 0.9689\n",
      "Epoch 3, Step 3954/8882, Total Step 30600, loss 0.01056, detection recall 0.5984, detection precision 0.8629, correction recall 0.9374, correction precision 0.9643\n",
      "Epoch 3, Step 3974/8882, Total Step 30620, loss 0.00806, detection recall 0.5870, detection precision 0.8578, correction recall 0.9622, correction precision 0.9737\n",
      "Epoch 3, Step 3994/8882, Total Step 30640, loss 0.01115, detection recall 0.6100, detection precision 0.8459, correction recall 0.9389, correction precision 0.9657\n",
      "Epoch 3, Step 4014/8882, Total Step 30660, loss 0.01193, detection recall 0.5968, detection precision 0.8762, correction recall 0.9351, correction precision 0.9579\n",
      "Epoch 3, Step 4034/8882, Total Step 30680, loss 0.00930, detection recall 0.6417, detection precision 0.8913, correction recall 0.9548, correction precision 0.9785\n",
      "Epoch 3, Step 4054/8882, Total Step 30700, loss 0.00898, detection recall 0.6214, detection precision 0.9022, correction recall 0.9540, correction precision 0.9717\n",
      "Epoch 3, Step 4074/8882, Total Step 30720, loss 0.01000, detection recall 0.6207, detection precision 0.8776, correction recall 0.9476, correction precision 0.9731\n",
      "Epoch 3, Step 4094/8882, Total Step 30740, loss 0.00932, detection recall 0.6054, detection precision 0.8646, correction recall 0.9465, correction precision 0.9804\n",
      "Epoch 3, Step 4114/8882, Total Step 30760, loss 0.01120, detection recall 0.6228, detection precision 0.8843, correction recall 0.9408, correction precision 0.9601\n",
      "Epoch 3, Step 4134/8882, Total Step 30780, loss 0.01098, detection recall 0.6140, detection precision 0.8769, correction recall 0.9433, correction precision 0.9633\n",
      "Epoch 3, Step 4154/8882, Total Step 30800, loss 0.01008, detection recall 0.6020, detection precision 0.8748, correction recall 0.9520, correction precision 0.9831\n",
      "Epoch 3, Step 4174/8882, Total Step 30820, loss 0.00977, detection recall 0.6164, detection precision 0.8910, correction recall 0.9483, correction precision 0.9692\n",
      "Epoch 3, Step 4194/8882, Total Step 30840, loss 0.01067, detection recall 0.6007, detection precision 0.8694, correction recall 0.9417, correction precision 0.9651\n",
      "Epoch 3, Step 4214/8882, Total Step 30860, loss 0.00906, detection recall 0.6239, detection precision 0.8901, correction recall 0.9442, correction precision 0.9702\n",
      "Epoch 3, Step 4234/8882, Total Step 30880, loss 0.01003, detection recall 0.6157, detection precision 0.8585, correction recall 0.9464, correction precision 0.9584\n",
      "Epoch 3, Step 4254/8882, Total Step 30900, loss 0.00784, detection recall 0.6556, detection precision 0.8970, correction recall 0.9535, correction precision 0.9762\n",
      "Epoch 3, Step 4274/8882, Total Step 30920, loss 0.00861, detection recall 0.6203, detection precision 0.8760, correction recall 0.9510, correction precision 0.9720\n",
      "Epoch 3, Step 4294/8882, Total Step 30940, loss 0.00744, detection recall 0.6238, detection precision 0.8632, correction recall 0.9681, correction precision 0.9838\n",
      "Epoch 3, Step 4314/8882, Total Step 30960, loss 0.00908, detection recall 0.6176, detection precision 0.8973, correction recall 0.9560, correction precision 0.9752\n",
      "Epoch 3, Step 4334/8882, Total Step 30980, loss 0.01110, detection recall 0.5971, detection precision 0.8601, correction recall 0.9408, correction precision 0.9645\n",
      "Epoch 3, Step 4354/8882, Total Step 31000, loss 0.01099, detection recall 0.6425, detection precision 0.8956, correction recall 0.9353, correction precision 0.9717\n",
      "Epoch 3, Step 4374/8882, Total Step 31020, loss 0.01006, detection recall 0.5908, detection precision 0.8750, correction recall 0.9422, correction precision 0.9702\n",
      "Epoch 3, Step 4394/8882, Total Step 31040, loss 0.00896, detection recall 0.6396, detection precision 0.8873, correction recall 0.9474, correction precision 0.9741\n",
      "Epoch 3, Step 4414/8882, Total Step 31060, loss 0.00984, detection recall 0.6011, detection precision 0.9082, correction recall 0.9492, correction precision 0.9717\n",
      "Epoch 3, Step 4434/8882, Total Step 31080, loss 0.01010, detection recall 0.6050, detection precision 0.8825, correction recall 0.9444, correction precision 0.9686\n",
      "Epoch 3, Step 4454/8882, Total Step 31100, loss 0.00930, detection recall 0.6244, detection precision 0.8926, correction recall 0.9507, correction precision 0.9792\n",
      "Epoch 3, Step 4474/8882, Total Step 31120, loss 0.00915, detection recall 0.6313, detection precision 0.8709, correction recall 0.9498, correction precision 0.9641\n",
      "Epoch 3, Step 4494/8882, Total Step 31140, loss 0.01041, detection recall 0.6356, detection precision 0.8656, correction recall 0.9479, correction precision 0.9765\n",
      "Epoch 3, Step 4514/8882, Total Step 31160, loss 0.00867, detection recall 0.6352, detection precision 0.9141, correction recall 0.9544, correction precision 0.9756\n",
      "Epoch 3, Step 4534/8882, Total Step 31180, loss 0.01031, detection recall 0.6246, detection precision 0.8844, correction recall 0.9380, correction precision 0.9718\n",
      "Epoch 3, Step 4554/8882, Total Step 31200, loss 0.01124, detection recall 0.6307, detection precision 0.8629, correction recall 0.9412, correction precision 0.9664\n",
      "Epoch 3, Step 4574/8882, Total Step 31220, loss 0.01035, detection recall 0.6348, detection precision 0.9023, correction recall 0.9420, correction precision 0.9744\n",
      "Epoch 3, Step 4594/8882, Total Step 31240, loss 0.00908, detection recall 0.6038, detection precision 0.8677, correction recall 0.9506, correction precision 0.9769\n",
      "Epoch 3, Step 4614/8882, Total Step 31260, loss 0.01193, detection recall 0.5968, detection precision 0.8812, correction recall 0.9376, correction precision 0.9694\n",
      "Epoch 3, Step 4634/8882, Total Step 31280, loss 0.00922, detection recall 0.6009, detection precision 0.8718, correction recall 0.9498, correction precision 0.9624\n",
      "Epoch 3, Step 4654/8882, Total Step 31300, loss 0.00968, detection recall 0.6009, detection precision 0.8847, correction recall 0.9482, correction precision 0.9784\n",
      "Epoch 3, Step 4674/8882, Total Step 31320, loss 0.00916, detection recall 0.6057, detection precision 0.8825, correction recall 0.9580, correction precision 0.9734\n",
      "Epoch 3, Step 4694/8882, Total Step 31340, loss 0.01004, detection recall 0.6399, detection precision 0.8928, correction recall 0.9392, correction precision 0.9658\n",
      "Epoch 3, Step 4714/8882, Total Step 31360, loss 0.00835, detection recall 0.6299, detection precision 0.8760, correction recall 0.9532, correction precision 0.9760\n",
      "Epoch 3, Step 4734/8882, Total Step 31380, loss 0.00903, detection recall 0.5852, detection precision 0.8860, correction recall 0.9618, correction precision 0.9800\n",
      "Epoch 3, Step 4754/8882, Total Step 31400, loss 0.00959, detection recall 0.6137, detection precision 0.8650, correction recall 0.9434, correction precision 0.9687\n",
      "Epoch 3, Step 4774/8882, Total Step 31420, loss 0.00979, detection recall 0.6210, detection precision 0.8784, correction recall 0.9536, correction precision 0.9768\n",
      "Epoch 3, Step 4794/8882, Total Step 31440, loss 0.00907, detection recall 0.6016, detection precision 0.8773, correction recall 0.9495, correction precision 0.9636\n",
      "Epoch 3, Step 4814/8882, Total Step 31460, loss 0.01001, detection recall 0.6232, detection precision 0.8752, correction recall 0.9449, correction precision 0.9622\n",
      "Epoch 3, Step 4834/8882, Total Step 31480, loss 0.01136, detection recall 0.6150, detection precision 0.8901, correction recall 0.9397, correction precision 0.9689\n",
      "Epoch 3, Step 4854/8882, Total Step 31500, loss 0.00922, detection recall 0.6359, detection precision 0.8824, correction recall 0.9527, correction precision 0.9741\n",
      "Epoch 3, Step 4874/8882, Total Step 31520, loss 0.00943, detection recall 0.6233, detection precision 0.8750, correction recall 0.9486, correction precision 0.9685\n",
      "Epoch 3, Step 4894/8882, Total Step 31540, loss 0.01050, detection recall 0.5792, detection precision 0.8518, correction recall 0.9391, correction precision 0.9703\n",
      "Epoch 3, Step 4914/8882, Total Step 31560, loss 0.00896, detection recall 0.6604, detection precision 0.8974, correction recall 0.9469, correction precision 0.9663\n",
      "Epoch 3, Step 4934/8882, Total Step 31580, loss 0.00939, detection recall 0.6229, detection precision 0.8720, correction recall 0.9417, correction precision 0.9775\n",
      "Epoch 3, Step 4954/8882, Total Step 31600, loss 0.00894, detection recall 0.6466, detection precision 0.9048, correction recall 0.9476, correction precision 0.9714\n",
      "Epoch 3, Step 4974/8882, Total Step 31620, loss 0.00891, detection recall 0.5950, detection precision 0.8623, correction recall 0.9633, correction precision 0.9749\n",
      "Epoch 3, Step 4994/8882, Total Step 31640, loss 0.00856, detection recall 0.5986, detection precision 0.8939, correction recall 0.9538, correction precision 0.9747\n",
      "Epoch 3, Step 5014/8882, Total Step 31660, loss 0.01018, detection recall 0.6235, detection precision 0.8635, correction recall 0.9468, correction precision 0.9705\n",
      "Epoch 3, Step 5034/8882, Total Step 31680, loss 0.00908, detection recall 0.6178, detection precision 0.8917, correction recall 0.9538, correction precision 0.9798\n",
      "Epoch 3, Step 5054/8882, Total Step 31700, loss 0.00921, detection recall 0.6045, detection precision 0.8754, correction recall 0.9441, correction precision 0.9735\n",
      "Epoch 3, Step 5074/8882, Total Step 31720, loss 0.00933, detection recall 0.6152, detection precision 0.8742, correction recall 0.9512, correction precision 0.9733\n",
      "Epoch 3, Step 5094/8882, Total Step 31740, loss 0.00928, detection recall 0.6234, detection precision 0.8824, correction recall 0.9522, correction precision 0.9643\n",
      "Epoch 3, Step 5114/8882, Total Step 31760, loss 0.00870, detection recall 0.6116, detection precision 0.8832, correction recall 0.9544, correction precision 0.9744\n",
      "Epoch 3, Step 5134/8882, Total Step 31780, loss 0.01058, detection recall 0.6222, detection precision 0.8760, correction recall 0.9416, correction precision 0.9672\n",
      "Epoch 3, Step 5154/8882, Total Step 31800, loss 0.00847, detection recall 0.6161, detection precision 0.8889, correction recall 0.9638, correction precision 0.9726\n",
      "Epoch 3, Step 5174/8882, Total Step 31820, loss 0.00853, detection recall 0.6179, detection precision 0.8695, correction recall 0.9508, correction precision 0.9770\n",
      "Epoch 3, Step 5194/8882, Total Step 31840, loss 0.00800, detection recall 0.6202, detection precision 0.8744, correction recall 0.9601, correction precision 0.9762\n",
      "Epoch 3, Step 5214/8882, Total Step 31860, loss 0.00785, detection recall 0.6212, detection precision 0.8893, correction recall 0.9584, correction precision 0.9834\n",
      "Epoch 3, Step 5234/8882, Total Step 31880, loss 0.01031, detection recall 0.6369, detection precision 0.8782, correction recall 0.9382, correction precision 0.9703\n",
      "Epoch 3, Step 5254/8882, Total Step 31900, loss 0.00772, detection recall 0.6045, detection precision 0.8881, correction recall 0.9648, correction precision 0.9838\n",
      "Epoch 3, Step 5274/8882, Total Step 31920, loss 0.01005, detection recall 0.6214, detection precision 0.8970, correction recall 0.9390, correction precision 0.9714\n",
      "Epoch 3, Step 5294/8882, Total Step 31940, loss 0.00824, detection recall 0.6193, detection precision 0.8862, correction recall 0.9485, correction precision 0.9781\n",
      "Epoch 3, Step 5314/8882, Total Step 31960, loss 0.00832, detection recall 0.6455, detection precision 0.8859, correction recall 0.9573, correction precision 0.9730\n",
      "Epoch 3, Step 5334/8882, Total Step 31980, loss 0.01077, detection recall 0.6004, detection precision 0.8526, correction recall 0.9420, correction precision 0.9668\n",
      "Epoch 3, Step 5354/8882, Total Step 32000, loss 0.00981, detection recall 0.6178, detection precision 0.8850, correction recall 0.9518, correction precision 0.9748\n",
      "Epoch 3, Step 5374/8882, Total Step 32020, loss 0.00964, detection recall 0.6084, detection precision 0.8889, correction recall 0.9432, correction precision 0.9697\n",
      "Epoch 3, Step 5394/8882, Total Step 32040, loss 0.00991, detection recall 0.5941, detection precision 0.8505, correction recall 0.9467, correction precision 0.9710\n",
      "Epoch 3, Step 5414/8882, Total Step 32060, loss 0.00934, detection recall 0.5978, detection precision 0.9031, correction recall 0.9587, correction precision 0.9778\n",
      "Epoch 3, Step 5434/8882, Total Step 32080, loss 0.00980, detection recall 0.6308, detection precision 0.8750, correction recall 0.9407, correction precision 0.9694\n",
      "Epoch 3, Step 5454/8882, Total Step 32100, loss 0.00864, detection recall 0.6200, detection precision 0.8787, correction recall 0.9511, correction precision 0.9672\n",
      "Epoch 3, Step 5474/8882, Total Step 32120, loss 0.00891, detection recall 0.6375, detection precision 0.9073, correction recall 0.9574, correction precision 0.9827\n",
      "Epoch 3, Step 5494/8882, Total Step 32140, loss 0.00997, detection recall 0.6202, detection precision 0.8990, correction recall 0.9427, correction precision 0.9655\n",
      "Epoch 3, Step 5514/8882, Total Step 32160, loss 0.00918, detection recall 0.6331, detection precision 0.8898, correction recall 0.9525, correction precision 0.9696\n",
      "Epoch 3, Step 5534/8882, Total Step 32180, loss 0.00842, detection recall 0.6481, detection precision 0.8819, correction recall 0.9595, correction precision 0.9799\n",
      "Epoch 3, Step 5554/8882, Total Step 32200, loss 0.01151, detection recall 0.5794, detection precision 0.8450, correction recall 0.9508, correction precision 0.9737\n",
      "Epoch 3, Step 5574/8882, Total Step 32220, loss 0.00963, detection recall 0.6182, detection precision 0.8758, correction recall 0.9512, correction precision 0.9717\n",
      "Epoch 3, Step 5594/8882, Total Step 32240, loss 0.00987, detection recall 0.6097, detection precision 0.8624, correction recall 0.9468, correction precision 0.9643\n",
      "Epoch 3, Step 5614/8882, Total Step 32260, loss 0.01055, detection recall 0.6089, detection precision 0.8444, correction recall 0.9467, correction precision 0.9793\n",
      "Epoch 3, Step 5634/8882, Total Step 32280, loss 0.00827, detection recall 0.6238, detection precision 0.8983, correction recall 0.9537, correction precision 0.9751\n",
      "Epoch 3, Step 5654/8882, Total Step 32300, loss 0.01167, detection recall 0.6243, detection precision 0.8670, correction recall 0.9376, correction precision 0.9635\n",
      "Epoch 3, Step 5674/8882, Total Step 32320, loss 0.00819, detection recall 0.6179, detection precision 0.8787, correction recall 0.9590, correction precision 0.9709\n",
      "Epoch 3, Step 5694/8882, Total Step 32340, loss 0.00851, detection recall 0.6391, detection precision 0.8940, correction recall 0.9514, correction precision 0.9745\n",
      "Epoch 3, Step 5714/8882, Total Step 32360, loss 0.00948, detection recall 0.6096, detection precision 0.8569, correction recall 0.9541, correction precision 0.9671\n",
      "Epoch 3, Step 5734/8882, Total Step 32380, loss 0.01099, detection recall 0.6152, detection precision 0.8735, correction recall 0.9413, correction precision 0.9654\n",
      "Epoch 3, Step 5754/8882, Total Step 32400, loss 0.00991, detection recall 0.6201, detection precision 0.8894, correction recall 0.9553, correction precision 0.9794\n",
      "Epoch 3, Step 5774/8882, Total Step 32420, loss 0.00932, detection recall 0.6403, detection precision 0.9164, correction recall 0.9485, correction precision 0.9730\n",
      "Epoch 3, Step 5794/8882, Total Step 32440, loss 0.01167, detection recall 0.6073, detection precision 0.8657, correction recall 0.9353, correction precision 0.9706\n",
      "Epoch 3, Step 5814/8882, Total Step 32460, loss 0.00852, detection recall 0.6308, detection precision 0.8768, correction recall 0.9551, correction precision 0.9737\n",
      "Epoch 3, Step 5834/8882, Total Step 32480, loss 0.01051, detection recall 0.6198, detection precision 0.8744, correction recall 0.9407, correction precision 0.9683\n",
      "Epoch 3, Step 5854/8882, Total Step 32500, loss 0.00918, detection recall 0.6164, detection precision 0.8839, correction recall 0.9490, correction precision 0.9661\n",
      "Epoch 3, Step 5874/8882, Total Step 32520, loss 0.00907, detection recall 0.6240, detection precision 0.8541, correction recall 0.9517, correction precision 0.9781\n",
      "Epoch 3, Step 5894/8882, Total Step 32540, loss 0.01025, detection recall 0.6481, detection precision 0.8858, correction recall 0.9421, correction precision 0.9691\n",
      "Epoch 3, Step 5914/8882, Total Step 32560, loss 0.01057, detection recall 0.6288, detection precision 0.8840, correction recall 0.9443, correction precision 0.9747\n",
      "Epoch 3, Step 5934/8882, Total Step 32580, loss 0.01097, detection recall 0.6407, detection precision 0.9042, correction recall 0.9377, correction precision 0.9612\n",
      "Epoch 3, Step 5954/8882, Total Step 32600, loss 0.00916, detection recall 0.6180, detection precision 0.8891, correction recall 0.9482, correction precision 0.9775\n",
      "Epoch 3, Step 5974/8882, Total Step 32620, loss 0.00918, detection recall 0.6561, detection precision 0.9006, correction recall 0.9581, correction precision 0.9736\n",
      "Epoch 3, Step 5994/8882, Total Step 32640, loss 0.01101, detection recall 0.6353, detection precision 0.8748, correction recall 0.9376, correction precision 0.9683\n",
      "Epoch 3, Step 6014/8882, Total Step 32660, loss 0.01026, detection recall 0.6411, detection precision 0.9054, correction recall 0.9352, correction precision 0.9649\n",
      "Epoch 3, Step 6034/8882, Total Step 32680, loss 0.00849, detection recall 0.6330, detection precision 0.8967, correction recall 0.9596, correction precision 0.9771\n",
      "Epoch 3, Step 6054/8882, Total Step 32700, loss 0.01075, detection recall 0.6084, detection precision 0.8730, correction recall 0.9398, correction precision 0.9673\n",
      "Epoch 3, Step 6074/8882, Total Step 32720, loss 0.00943, detection recall 0.6097, detection precision 0.8601, correction recall 0.9504, correction precision 0.9709\n",
      "Epoch 3, Step 6094/8882, Total Step 32740, loss 0.01041, detection recall 0.6242, detection precision 0.8729, correction recall 0.9401, correction precision 0.9725\n",
      "Epoch 3, Step 6114/8882, Total Step 32760, loss 0.00910, detection recall 0.6251, detection precision 0.8909, correction recall 0.9463, correction precision 0.9696\n",
      "Epoch 3, Step 6134/8882, Total Step 32780, loss 0.01199, detection recall 0.6257, detection precision 0.8756, correction recall 0.9286, correction precision 0.9516\n",
      "Epoch 3, Step 6154/8882, Total Step 32800, loss 0.01177, detection recall 0.6128, detection precision 0.8870, correction recall 0.9316, correction precision 0.9614\n",
      "Epoch 3, Step 6174/8882, Total Step 32820, loss 0.00964, detection recall 0.6536, detection precision 0.8785, correction recall 0.9510, correction precision 0.9678\n",
      "Epoch 3, Step 6194/8882, Total Step 32840, loss 0.00956, detection recall 0.6199, detection precision 0.8738, correction recall 0.9481, correction precision 0.9772\n",
      "Epoch 3, Step 6214/8882, Total Step 32860, loss 0.00874, detection recall 0.6142, detection precision 0.8821, correction recall 0.9606, correction precision 0.9705\n",
      "Epoch 3, Step 6234/8882, Total Step 32880, loss 0.00890, detection recall 0.6185, detection precision 0.8768, correction recall 0.9470, correction precision 0.9722\n",
      "Epoch 3, Step 6254/8882, Total Step 32900, loss 0.00966, detection recall 0.6244, detection precision 0.9042, correction recall 0.9518, correction precision 0.9759\n",
      "Epoch 3, Step 6274/8882, Total Step 32920, loss 0.00906, detection recall 0.6437, detection precision 0.8569, correction recall 0.9514, correction precision 0.9711\n",
      "Epoch 3, Step 6294/8882, Total Step 32940, loss 0.00893, detection recall 0.6146, detection precision 0.8965, correction recall 0.9585, correction precision 0.9756\n",
      "Epoch 3, Step 6314/8882, Total Step 32960, loss 0.00920, detection recall 0.6333, detection precision 0.9037, correction recall 0.9460, correction precision 0.9700\n",
      "Epoch 3, Step 6334/8882, Total Step 32980, loss 0.00977, detection recall 0.6071, detection precision 0.8661, correction recall 0.9503, correction precision 0.9642\n",
      "Epoch 3, Step 6354/8882, Total Step 33000, loss 0.01086, detection recall 0.5937, detection precision 0.8529, correction recall 0.9346, correction precision 0.9695\n",
      "Epoch 3, Step 6374/8882, Total Step 33020, loss 0.00912, detection recall 0.6144, detection precision 0.8891, correction recall 0.9448, correction precision 0.9677\n",
      "Epoch 3, Step 6394/8882, Total Step 33040, loss 0.00808, detection recall 0.6243, detection precision 0.8756, correction recall 0.9682, correction precision 0.9822\n",
      "Epoch 3, Step 6414/8882, Total Step 33060, loss 0.00934, detection recall 0.6273, detection precision 0.8636, correction recall 0.9482, correction precision 0.9689\n",
      "Epoch 3, Step 6434/8882, Total Step 33080, loss 0.01093, detection recall 0.6099, detection precision 0.8560, correction recall 0.9357, correction precision 0.9662\n",
      "Epoch 3, Step 6454/8882, Total Step 33100, loss 0.00861, detection recall 0.6136, detection precision 0.8973, correction recall 0.9627, correction precision 0.9712\n",
      "Epoch 3, Step 6474/8882, Total Step 33120, loss 0.00979, detection recall 0.6257, detection precision 0.8498, correction recall 0.9385, correction precision 0.9733\n",
      "Epoch 3, Step 6494/8882, Total Step 33140, loss 0.01025, detection recall 0.6364, detection precision 0.8844, correction recall 0.9390, correction precision 0.9560\n",
      "Epoch 3, Step 6514/8882, Total Step 33160, loss 0.01156, detection recall 0.6327, detection precision 0.8713, correction recall 0.9313, correction precision 0.9517\n",
      "Epoch 3, Step 6534/8882, Total Step 33180, loss 0.01002, detection recall 0.6403, detection precision 0.8984, correction recall 0.9432, correction precision 0.9713\n",
      "Epoch 3, Step 6554/8882, Total Step 33200, loss 0.01056, detection recall 0.6029, detection precision 0.8672, correction recall 0.9433, correction precision 0.9680\n",
      "Epoch 3, Step 6574/8882, Total Step 33220, loss 0.00974, detection recall 0.6328, detection precision 0.8723, correction recall 0.9453, correction precision 0.9758\n",
      "Epoch 3, Step 6594/8882, Total Step 33240, loss 0.00979, detection recall 0.5989, detection precision 0.8754, correction recall 0.9475, correction precision 0.9687\n",
      "Epoch 3, Step 6614/8882, Total Step 33260, loss 0.01004, detection recall 0.6362, detection precision 0.8932, correction recall 0.9405, correction precision 0.9649\n",
      "Epoch 3, Step 6634/8882, Total Step 33280, loss 0.01146, detection recall 0.6102, detection precision 0.8603, correction recall 0.9354, correction precision 0.9655\n",
      "Epoch 3, Step 6654/8882, Total Step 33300, loss 0.01186, detection recall 0.6002, detection precision 0.8691, correction recall 0.9421, correction precision 0.9679\n",
      "Epoch 3, Step 6674/8882, Total Step 33320, loss 0.01133, detection recall 0.6101, detection precision 0.8744, correction recall 0.9409, correction precision 0.9663\n",
      "Epoch 3, Step 6694/8882, Total Step 33340, loss 0.00901, detection recall 0.6366, detection precision 0.8812, correction recall 0.9509, correction precision 0.9760\n",
      "Epoch 3, Step 6714/8882, Total Step 33360, loss 0.00942, detection recall 0.6128, detection precision 0.8799, correction recall 0.9461, correction precision 0.9762\n",
      "Epoch 3, Step 6734/8882, Total Step 33380, loss 0.01107, detection recall 0.6110, detection precision 0.8522, correction recall 0.9470, correction precision 0.9711\n",
      "Epoch 3, Step 6754/8882, Total Step 33400, loss 0.01058, detection recall 0.6112, detection precision 0.9082, correction recall 0.9315, correction precision 0.9651\n",
      "Epoch 3, Step 6774/8882, Total Step 33420, loss 0.01277, detection recall 0.6181, detection precision 0.8567, correction recall 0.9260, correction precision 0.9540\n",
      "Epoch 3, Step 6794/8882, Total Step 33440, loss 0.00929, detection recall 0.6443, detection precision 0.8787, correction recall 0.9423, correction precision 0.9634\n",
      "Epoch 3, Step 6814/8882, Total Step 33460, loss 0.00937, detection recall 0.6251, detection precision 0.8686, correction recall 0.9488, correction precision 0.9737\n",
      "Epoch 3, Step 6834/8882, Total Step 33480, loss 0.00889, detection recall 0.6183, detection precision 0.8864, correction recall 0.9531, correction precision 0.9661\n",
      "Epoch 3, Step 6854/8882, Total Step 33500, loss 0.00833, detection recall 0.6331, detection precision 0.8934, correction recall 0.9474, correction precision 0.9752\n",
      "Epoch 3, Step 6874/8882, Total Step 33520, loss 0.00750, detection recall 0.6407, detection precision 0.8777, correction recall 0.9565, correction precision 0.9778\n",
      "Epoch 3, Step 6894/8882, Total Step 33540, loss 0.00885, detection recall 0.6307, detection precision 0.8957, correction recall 0.9611, correction precision 0.9796\n",
      "Epoch 3, Step 6914/8882, Total Step 33560, loss 0.00862, detection recall 0.6264, detection precision 0.8729, correction recall 0.9451, correction precision 0.9707\n",
      "Epoch 3, Step 6934/8882, Total Step 33580, loss 0.01048, detection recall 0.6374, detection precision 0.9203, correction recall 0.9437, correction precision 0.9588\n",
      "Epoch 3, Step 6954/8882, Total Step 33600, loss 0.00938, detection recall 0.6280, detection precision 0.8720, correction recall 0.9534, correction precision 0.9756\n",
      "Epoch 3, Step 6974/8882, Total Step 33620, loss 0.01036, detection recall 0.6367, detection precision 0.8951, correction recall 0.9451, correction precision 0.9620\n",
      "Epoch 3, Step 6994/8882, Total Step 33640, loss 0.00807, detection recall 0.6337, detection precision 0.8950, correction recall 0.9623, correction precision 0.9886\n",
      "Epoch 3, Step 7014/8882, Total Step 33660, loss 0.00962, detection recall 0.6344, detection precision 0.8930, correction recall 0.9615, correction precision 0.9700\n",
      "Epoch 3, Step 7034/8882, Total Step 33680, loss 0.01143, detection recall 0.6421, detection precision 0.9000, correction recall 0.9388, correction precision 0.9696\n",
      "Epoch 3, Step 7054/8882, Total Step 33700, loss 0.01024, detection recall 0.6314, detection precision 0.8824, correction recall 0.9465, correction precision 0.9754\n",
      "Epoch 3, Step 7074/8882, Total Step 33720, loss 0.01036, detection recall 0.6146, detection precision 0.8783, correction recall 0.9367, correction precision 0.9651\n",
      "Epoch 3, Step 7094/8882, Total Step 33740, loss 0.00908, detection recall 0.6267, detection precision 0.8989, correction recall 0.9515, correction precision 0.9675\n",
      "Epoch 3, Step 7114/8882, Total Step 33760, loss 0.01266, detection recall 0.6045, detection precision 0.8887, correction recall 0.9345, correction precision 0.9718\n",
      "Epoch 3, Step 7134/8882, Total Step 33780, loss 0.01034, detection recall 0.6104, detection precision 0.8820, correction recall 0.9470, correction precision 0.9608\n",
      "Epoch 3, Step 7154/8882, Total Step 33800, loss 0.00943, detection recall 0.6295, detection precision 0.8887, correction recall 0.9505, correction precision 0.9791\n",
      "Epoch 3, Step 7174/8882, Total Step 33820, loss 0.01016, detection recall 0.6365, detection precision 0.8846, correction recall 0.9461, correction precision 0.9680\n",
      "Epoch 3, Step 7194/8882, Total Step 33840, loss 0.01076, detection recall 0.6249, detection precision 0.8622, correction recall 0.9412, correction precision 0.9625\n",
      "Epoch 3, Step 7214/8882, Total Step 33860, loss 0.01011, detection recall 0.6494, detection precision 0.8784, correction recall 0.9371, correction precision 0.9642\n",
      "Epoch 3, Step 7234/8882, Total Step 33880, loss 0.01105, detection recall 0.6024, detection precision 0.8792, correction recall 0.9455, correction precision 0.9666\n",
      "Epoch 3, Step 7254/8882, Total Step 33900, loss 0.00907, detection recall 0.6287, detection precision 0.8696, correction recall 0.9644, correction precision 0.9824\n",
      "Epoch 3, Step 7274/8882, Total Step 33920, loss 0.00995, detection recall 0.6390, detection precision 0.8880, correction recall 0.9478, correction precision 0.9755\n",
      "Epoch 3, Step 7294/8882, Total Step 33940, loss 0.01067, detection recall 0.5945, detection precision 0.8615, correction recall 0.9484, correction precision 0.9642\n",
      "Epoch 3, Step 7314/8882, Total Step 33960, loss 0.00934, detection recall 0.6235, detection precision 0.8947, correction recall 0.9515, correction precision 0.9682\n",
      "Epoch 3, Step 7334/8882, Total Step 33980, loss 0.00851, detection recall 0.6508, detection precision 0.8972, correction recall 0.9537, correction precision 0.9780\n",
      "Epoch 3, Step 7354/8882, Total Step 34000, loss 0.01042, detection recall 0.6656, detection precision 0.8894, correction recall 0.9357, correction precision 0.9630\n",
      "Epoch 3, Step 7374/8882, Total Step 34020, loss 0.00997, detection recall 0.6177, detection precision 0.8814, correction recall 0.9428, correction precision 0.9636\n",
      "Epoch 3, Step 7394/8882, Total Step 34040, loss 0.01054, detection recall 0.6187, detection precision 0.8658, correction recall 0.9509, correction precision 0.9777\n",
      "Epoch 3, Step 7414/8882, Total Step 34060, loss 0.00989, detection recall 0.6357, detection precision 0.8700, correction recall 0.9491, correction precision 0.9722\n",
      "Epoch 3, Step 7434/8882, Total Step 34080, loss 0.01056, detection recall 0.6084, detection precision 0.8957, correction recall 0.9431, correction precision 0.9691\n",
      "Epoch 3, Step 7454/8882, Total Step 34100, loss 0.01125, detection recall 0.5857, detection precision 0.8666, correction recall 0.9421, correction precision 0.9647\n",
      "Epoch 3, Step 7474/8882, Total Step 34120, loss 0.00986, detection recall 0.6117, detection precision 0.8939, correction recall 0.9549, correction precision 0.9764\n",
      "Epoch 3, Step 7494/8882, Total Step 34140, loss 0.00903, detection recall 0.6088, detection precision 0.8818, correction recall 0.9467, correction precision 0.9755\n",
      "Epoch 3, Step 7514/8882, Total Step 34160, loss 0.01034, detection recall 0.6222, detection precision 0.8791, correction recall 0.9511, correction precision 0.9683\n",
      "Epoch 3, Step 7534/8882, Total Step 34180, loss 0.01015, detection recall 0.6189, detection precision 0.8837, correction recall 0.9479, correction precision 0.9722\n",
      "Epoch 3, Step 7554/8882, Total Step 34200, loss 0.00931, detection recall 0.6288, detection precision 0.8780, correction recall 0.9531, correction precision 0.9754\n",
      "Epoch 3, Step 7574/8882, Total Step 34220, loss 0.01056, detection recall 0.6370, detection precision 0.8892, correction recall 0.9522, correction precision 0.9669\n",
      "Epoch 3, Step 7594/8882, Total Step 34240, loss 0.00868, detection recall 0.6190, detection precision 0.8680, correction recall 0.9513, correction precision 0.9817\n",
      "Epoch 3, Step 7614/8882, Total Step 34260, loss 0.00961, detection recall 0.6230, detection precision 0.8898, correction recall 0.9463, correction precision 0.9592\n",
      "Epoch 3, Step 7634/8882, Total Step 34280, loss 0.00951, detection recall 0.6176, detection precision 0.8617, correction recall 0.9499, correction precision 0.9721\n",
      "Epoch 3, Step 7654/8882, Total Step 34300, loss 0.00832, detection recall 0.6401, detection precision 0.8880, correction recall 0.9507, correction precision 0.9703\n",
      "Epoch 3, Step 7674/8882, Total Step 34320, loss 0.00798, detection recall 0.6344, detection precision 0.8916, correction recall 0.9637, correction precision 0.9787\n",
      "Epoch 3, Step 7694/8882, Total Step 34340, loss 0.00904, detection recall 0.6278, detection precision 0.8702, correction recall 0.9471, correction precision 0.9707\n",
      "Epoch 3, Step 7714/8882, Total Step 34360, loss 0.00891, detection recall 0.6373, detection precision 0.9092, correction recall 0.9520, correction precision 0.9715\n",
      "Epoch 3, Step 7734/8882, Total Step 34380, loss 0.00916, detection recall 0.6446, detection precision 0.8868, correction recall 0.9360, correction precision 0.9579\n",
      "Epoch 3, Step 7754/8882, Total Step 34400, loss 0.00906, detection recall 0.6442, detection precision 0.8675, correction recall 0.9451, correction precision 0.9798\n",
      "Epoch 3, Step 7774/8882, Total Step 34420, loss 0.01157, detection recall 0.6381, detection precision 0.8775, correction recall 0.9332, correction precision 0.9643\n",
      "Epoch 3, Step 7794/8882, Total Step 34440, loss 0.01113, detection recall 0.6224, detection precision 0.8859, correction recall 0.9407, correction precision 0.9651\n",
      "Epoch 3, Step 7814/8882, Total Step 34460, loss 0.01138, detection recall 0.6291, detection precision 0.8942, correction recall 0.9311, correction precision 0.9692\n",
      "Epoch 3, Step 7834/8882, Total Step 34480, loss 0.01021, detection recall 0.6108, detection precision 0.8736, correction recall 0.9518, correction precision 0.9617\n",
      "Epoch 3, Step 7854/8882, Total Step 34500, loss 0.01095, detection recall 0.6239, detection precision 0.8794, correction recall 0.9419, correction precision 0.9566\n",
      "Epoch 3, Step 7874/8882, Total Step 34520, loss 0.00920, detection recall 0.6352, detection precision 0.8775, correction recall 0.9506, correction precision 0.9736\n",
      "Epoch 3, Step 7894/8882, Total Step 34540, loss 0.01155, detection recall 0.6286, detection precision 0.8987, correction recall 0.9326, correction precision 0.9668\n",
      "Epoch 3, Step 7914/8882, Total Step 34560, loss 0.01070, detection recall 0.5865, detection precision 0.8891, correction recall 0.9324, correction precision 0.9579\n",
      "Epoch 3, Step 7934/8882, Total Step 34580, loss 0.00975, detection recall 0.6444, detection precision 0.8722, correction recall 0.9478, correction precision 0.9693\n",
      "Epoch 3, Step 7954/8882, Total Step 34600, loss 0.01004, detection recall 0.6040, detection precision 0.8558, correction recall 0.9497, correction precision 0.9670\n",
      "Epoch 3, Step 7974/8882, Total Step 34620, loss 0.01065, detection recall 0.5950, detection precision 0.8796, correction recall 0.9479, correction precision 0.9765\n",
      "Epoch 3, Step 7994/8882, Total Step 34640, loss 0.00994, detection recall 0.6147, detection precision 0.8734, correction recall 0.9421, correction precision 0.9680\n",
      "Epoch 3, Step 8014/8882, Total Step 34660, loss 0.00874, detection recall 0.6052, detection precision 0.8881, correction recall 0.9522, correction precision 0.9721\n",
      "Epoch 3, Step 8034/8882, Total Step 34680, loss 0.00994, detection recall 0.6172, detection precision 0.8905, correction recall 0.9388, correction precision 0.9617\n",
      "Epoch 3, Step 8054/8882, Total Step 34700, loss 0.01064, detection recall 0.6154, detection precision 0.8805, correction recall 0.9429, correction precision 0.9695\n",
      "Epoch 3, Step 8074/8882, Total Step 34720, loss 0.01070, detection recall 0.6293, detection precision 0.8796, correction recall 0.9444, correction precision 0.9664\n",
      "Epoch 3, Step 8094/8882, Total Step 34740, loss 0.00896, detection recall 0.6368, detection precision 0.8477, correction recall 0.9434, correction precision 0.9732\n",
      "Epoch 3, Step 8114/8882, Total Step 34760, loss 0.00967, detection recall 0.6374, detection precision 0.8817, correction recall 0.9535, correction precision 0.9703\n",
      "Epoch 3, Step 8134/8882, Total Step 34780, loss 0.00970, detection recall 0.6321, detection precision 0.8669, correction recall 0.9436, correction precision 0.9687\n",
      "Epoch 3, Step 8154/8882, Total Step 34800, loss 0.00958, detection recall 0.6330, detection precision 0.8869, correction recall 0.9364, correction precision 0.9683\n",
      "Epoch 3, Step 8174/8882, Total Step 34820, loss 0.01034, detection recall 0.6137, detection precision 0.8896, correction recall 0.9423, correction precision 0.9698\n",
      "Epoch 3, Step 8194/8882, Total Step 34840, loss 0.00988, detection recall 0.6487, detection precision 0.9062, correction recall 0.9438, correction precision 0.9750\n",
      "Epoch 3, Step 8214/8882, Total Step 34860, loss 0.00976, detection recall 0.6467, detection precision 0.8554, correction recall 0.9321, correction precision 0.9631\n",
      "Epoch 3, Step 8234/8882, Total Step 34880, loss 0.01120, detection recall 0.6280, detection precision 0.8799, correction recall 0.9402, correction precision 0.9630\n",
      "Epoch 3, Step 8254/8882, Total Step 34900, loss 0.00963, detection recall 0.6346, detection precision 0.8672, correction recall 0.9542, correction precision 0.9738\n",
      "Epoch 3, Step 8274/8882, Total Step 34920, loss 0.01202, detection recall 0.6142, detection precision 0.8502, correction recall 0.9377, correction precision 0.9576\n",
      "Epoch 3, Step 8294/8882, Total Step 34940, loss 0.01122, detection recall 0.6461, detection precision 0.8891, correction recall 0.9406, correction precision 0.9600\n",
      "Epoch 3, Step 8314/8882, Total Step 34960, loss 0.00955, detection recall 0.6405, detection precision 0.8680, correction recall 0.9507, correction precision 0.9703\n",
      "Epoch 3, Step 8334/8882, Total Step 34980, loss 0.00982, detection recall 0.6342, detection precision 0.8915, correction recall 0.9441, correction precision 0.9635\n",
      "Epoch 3, Step 8354/8882, Total Step 35000, loss 0.01140, detection recall 0.6181, detection precision 0.8938, correction recall 0.9390, correction precision 0.9652\n",
      "Epoch 3, Step 8374/8882, Total Step 35020, loss 0.00829, detection recall 0.6100, detection precision 0.8937, correction recall 0.9512, correction precision 0.9722\n",
      "Epoch 3, Step 8394/8882, Total Step 35040, loss 0.01046, detection recall 0.6434, detection precision 0.8620, correction recall 0.9480, correction precision 0.9749\n",
      "Epoch 3, Step 8414/8882, Total Step 35060, loss 0.00883, detection recall 0.6431, detection precision 0.8967, correction recall 0.9555, correction precision 0.9677\n",
      "Epoch 3, Step 8434/8882, Total Step 35080, loss 0.01001, detection recall 0.6313, detection precision 0.8833, correction recall 0.9436, correction precision 0.9654\n",
      "Epoch 3, Step 8454/8882, Total Step 35100, loss 0.00892, detection recall 0.6185, detection precision 0.8814, correction recall 0.9422, correction precision 0.9634\n",
      "Epoch 3, Step 8474/8882, Total Step 35120, loss 0.00792, detection recall 0.6366, detection precision 0.8992, correction recall 0.9588, correction precision 0.9795\n",
      "Epoch 3, Step 8494/8882, Total Step 35140, loss 0.01156, detection recall 0.6251, detection precision 0.8558, correction recall 0.9264, correction precision 0.9624\n",
      "Epoch 3, Step 8514/8882, Total Step 35160, loss 0.01064, detection recall 0.6379, detection precision 0.8931, correction recall 0.9400, correction precision 0.9642\n",
      "Epoch 3, Step 8534/8882, Total Step 35180, loss 0.00960, detection recall 0.6217, detection precision 0.8941, correction recall 0.9434, correction precision 0.9641\n",
      "Epoch 3, Step 8554/8882, Total Step 35200, loss 0.01017, detection recall 0.6652, detection precision 0.8710, correction recall 0.9462, correction precision 0.9769\n",
      "Epoch 3, Step 8574/8882, Total Step 35220, loss 0.01005, detection recall 0.6634, detection precision 0.9012, correction recall 0.9490, correction precision 0.9679\n",
      "Epoch 3, Step 8594/8882, Total Step 35240, loss 0.00862, detection recall 0.6623, detection precision 0.8768, correction recall 0.9437, correction precision 0.9721\n",
      "Epoch 3, Step 8614/8882, Total Step 35260, loss 0.00966, detection recall 0.6525, detection precision 0.8703, correction recall 0.9508, correction precision 0.9699\n",
      "Epoch 3, Step 8634/8882, Total Step 35280, loss 0.01038, detection recall 0.6011, detection precision 0.8842, correction recall 0.9410, correction precision 0.9588\n",
      "Epoch 3, Step 8654/8882, Total Step 35300, loss 0.00947, detection recall 0.6674, detection precision 0.8926, correction recall 0.9525, correction precision 0.9757\n",
      "Epoch 3, Step 8674/8882, Total Step 35320, loss 0.00875, detection recall 0.6641, detection precision 0.8854, correction recall 0.9587, correction precision 0.9652\n",
      "Epoch 3, Step 8694/8882, Total Step 35340, loss 0.01137, detection recall 0.6526, detection precision 0.9043, correction recall 0.9417, correction precision 0.9678\n",
      "Epoch 3, Step 8714/8882, Total Step 35360, loss 0.01093, detection recall 0.6042, detection precision 0.8686, correction recall 0.9387, correction precision 0.9667\n",
      "Epoch 3, Step 8734/8882, Total Step 35380, loss 0.00897, detection recall 0.6459, detection precision 0.8798, correction recall 0.9468, correction precision 0.9687\n",
      "Epoch 3, Step 8754/8882, Total Step 35400, loss 0.01052, detection recall 0.6392, detection precision 0.8969, correction recall 0.9421, correction precision 0.9647\n",
      "Epoch 3, Step 8774/8882, Total Step 35420, loss 0.01110, detection recall 0.6529, detection precision 0.8582, correction recall 0.9355, correction precision 0.9644\n",
      "Epoch 3, Step 8794/8882, Total Step 35440, loss 0.00992, detection recall 0.6589, detection precision 0.8652, correction recall 0.9492, correction precision 0.9652\n",
      "Epoch 3, Step 8814/8882, Total Step 35460, loss 0.00970, detection recall 0.6432, detection precision 0.8769, correction recall 0.9394, correction precision 0.9660\n",
      "Epoch 3, Step 8834/8882, Total Step 35480, loss 0.01075, detection recall 0.6420, detection precision 0.8835, correction recall 0.9421, correction precision 0.9523\n",
      "Epoch 3, Step 8854/8882, Total Step 35500, loss 0.01005, detection recall 0.6256, detection precision 0.8824, correction recall 0.9429, correction precision 0.9718\n",
      "Epoch 3, Step 8874/8882, Total Step 35520, loss 0.01211, detection recall 0.6388, detection precision 0.9034, correction recall 0.9350, correction precision 0.9681\n",
      "Epoch 4, Step 12/8882, Total Step 35540, loss 0.00733, detection recall 0.6363, detection precision 0.8775, correction recall 0.9616, correction precision 0.9804\n",
      "Epoch 4, Step 32/8882, Total Step 35560, loss 0.00585, detection recall 0.6533, detection precision 0.8733, correction recall 0.9822, correction precision 0.9844\n",
      "Epoch 4, Step 52/8882, Total Step 35580, loss 0.00628, detection recall 0.6309, detection precision 0.8685, correction recall 0.9732, correction precision 0.9837\n",
      "Epoch 4, Step 72/8882, Total Step 35600, loss 0.00584, detection recall 0.6307, detection precision 0.8921, correction recall 0.9717, correction precision 0.9856\n",
      "Epoch 4, Step 92/8882, Total Step 35620, loss 0.00697, detection recall 0.6343, detection precision 0.8623, correction recall 0.9712, correction precision 0.9859\n",
      "Epoch 4, Step 112/8882, Total Step 35640, loss 0.00566, detection recall 0.6215, detection precision 0.8621, correction recall 0.9797, correction precision 0.9897\n",
      "Epoch 4, Step 132/8882, Total Step 35660, loss 0.00651, detection recall 0.6548, detection precision 0.8967, correction recall 0.9678, correction precision 0.9875\n",
      "Epoch 4, Step 152/8882, Total Step 35680, loss 0.00507, detection recall 0.6640, detection precision 0.9081, correction recall 0.9780, correction precision 0.9860\n",
      "Epoch 4, Step 172/8882, Total Step 35700, loss 0.00694, detection recall 0.6376, detection precision 0.9015, correction recall 0.9695, correction precision 0.9845\n",
      "Epoch 4, Step 192/8882, Total Step 35720, loss 0.00615, detection recall 0.6284, detection precision 0.8760, correction recall 0.9707, correction precision 0.9840\n",
      "Epoch 4, Step 212/8882, Total Step 35740, loss 0.00584, detection recall 0.6493, detection precision 0.8831, correction recall 0.9717, correction precision 0.9874\n",
      "Epoch 4, Step 232/8882, Total Step 35760, loss 0.00768, detection recall 0.6386, detection precision 0.8571, correction recall 0.9656, correction precision 0.9776\n",
      "Epoch 4, Step 252/8882, Total Step 35780, loss 0.00655, detection recall 0.6460, detection precision 0.8656, correction recall 0.9741, correction precision 0.9852\n",
      "Epoch 4, Step 272/8882, Total Step 35800, loss 0.00595, detection recall 0.6527, detection precision 0.9080, correction recall 0.9802, correction precision 0.9911\n",
      "Epoch 4, Step 292/8882, Total Step 35820, loss 0.00635, detection recall 0.6674, detection precision 0.8584, correction recall 0.9629, correction precision 0.9851\n",
      "Epoch 4, Step 312/8882, Total Step 35840, loss 0.00537, detection recall 0.6629, detection precision 0.8750, correction recall 0.9741, correction precision 0.9852\n",
      "Epoch 4, Step 332/8882, Total Step 35860, loss 0.00559, detection recall 0.6716, detection precision 0.8874, correction recall 0.9739, correction precision 0.9873\n",
      "Epoch 4, Step 352/8882, Total Step 35880, loss 0.00608, detection recall 0.6552, detection precision 0.8804, correction recall 0.9722, correction precision 0.9831\n",
      "Epoch 4, Step 372/8882, Total Step 35900, loss 0.00598, detection recall 0.6511, detection precision 0.8786, correction recall 0.9744, correction precision 0.9887\n",
      "Epoch 4, Step 392/8882, Total Step 35920, loss 0.00520, detection recall 0.6486, detection precision 0.8692, correction recall 0.9800, correction precision 0.9866\n",
      "Epoch 4, Step 412/8882, Total Step 35940, loss 0.00579, detection recall 0.6667, detection precision 0.8847, correction recall 0.9802, correction precision 0.9889\n",
      "Epoch 4, Step 432/8882, Total Step 35960, loss 0.00610, detection recall 0.6443, detection precision 0.8610, correction recall 0.9776, correction precision 0.9887\n",
      "Epoch 4, Step 452/8882, Total Step 35980, loss 0.00597, detection recall 0.6783, detection precision 0.9000, correction recall 0.9685, correction precision 0.9818\n",
      "Epoch 4, Step 472/8882, Total Step 36000, loss 0.00595, detection recall 0.6530, detection precision 0.8746, correction recall 0.9726, correction precision 0.9919\n",
      "Epoch 4, Step 492/8882, Total Step 36020, loss 0.00611, detection recall 0.5819, detection precision 0.8671, correction recall 0.9799, correction precision 0.9865\n",
      "Epoch 4, Step 512/8882, Total Step 36040, loss 0.00639, detection recall 0.6348, detection precision 0.8769, correction recall 0.9739, correction precision 0.9835\n",
      "Epoch 4, Step 532/8882, Total Step 36060, loss 0.00655, detection recall 0.6583, detection precision 0.8950, correction recall 0.9728, correction precision 0.9889\n",
      "Epoch 4, Step 552/8882, Total Step 36080, loss 0.00623, detection recall 0.6517, detection precision 0.8855, correction recall 0.9742, correction precision 0.9875\n",
      "Epoch 4, Step 572/8882, Total Step 36100, loss 0.00593, detection recall 0.6429, detection precision 0.8957, correction recall 0.9694, correction precision 0.9862\n",
      "Epoch 4, Step 592/8882, Total Step 36120, loss 0.00605, detection recall 0.6503, detection precision 0.8702, correction recall 0.9808, correction precision 0.9903\n",
      "Epoch 4, Step 612/8882, Total Step 36140, loss 0.00677, detection recall 0.6576, detection precision 0.8668, correction recall 0.9717, correction precision 0.9911\n",
      "Epoch 4, Step 632/8882, Total Step 36160, loss 0.00665, detection recall 0.6404, detection precision 0.8559, correction recall 0.9629, correction precision 0.9783\n",
      "Epoch 4, Step 652/8882, Total Step 36180, loss 0.00570, detection recall 0.6159, detection precision 0.8974, correction recall 0.9830, correction precision 0.9920\n",
      "Epoch 4, Step 672/8882, Total Step 36200, loss 0.00554, detection recall 0.6685, detection precision 0.8910, correction recall 0.9720, correction precision 0.9852\n",
      "Epoch 4, Step 692/8882, Total Step 36220, loss 0.00614, detection recall 0.6541, detection precision 0.8559, correction recall 0.9733, correction precision 0.9921\n",
      "Epoch 4, Step 712/8882, Total Step 36240, loss 0.00727, detection recall 0.6306, detection precision 0.8639, correction recall 0.9687, correction precision 0.9830\n",
      "Epoch 4, Step 732/8882, Total Step 36260, loss 0.00601, detection recall 0.6430, detection precision 0.9006, correction recall 0.9767, correction precision 0.9829\n",
      "Epoch 4, Step 752/8882, Total Step 36280, loss 0.00492, detection recall 0.6767, detection precision 0.8956, correction recall 0.9811, correction precision 0.9899\n",
      "Epoch 4, Step 772/8882, Total Step 36300, loss 0.00617, detection recall 0.6610, detection precision 0.8780, correction recall 0.9683, correction precision 0.9827\n",
      "Epoch 4, Step 792/8882, Total Step 36320, loss 0.00589, detection recall 0.6674, detection precision 0.8790, correction recall 0.9802, correction precision 0.9860\n",
      "Epoch 4, Step 812/8882, Total Step 36340, loss 0.00687, detection recall 0.6439, detection precision 0.8746, correction recall 0.9696, correction precision 0.9944\n",
      "Epoch 4, Step 832/8882, Total Step 36360, loss 0.00656, detection recall 0.6227, detection precision 0.8681, correction recall 0.9741, correction precision 0.9841\n",
      "Epoch 4, Step 852/8882, Total Step 36380, loss 0.00570, detection recall 0.6624, detection precision 0.9019, correction recall 0.9720, correction precision 0.9847\n",
      "Epoch 4, Step 872/8882, Total Step 36400, loss 0.00543, detection recall 0.6826, detection precision 0.8952, correction recall 0.9772, correction precision 0.9885\n",
      "Epoch 4, Step 892/8882, Total Step 36420, loss 0.00601, detection recall 0.6591, detection precision 0.8750, correction recall 0.9762, correction precision 0.9804\n",
      "Epoch 4, Step 912/8882, Total Step 36440, loss 0.00559, detection recall 0.6707, detection precision 0.8907, correction recall 0.9778, correction precision 0.9910\n",
      "Epoch 4, Step 932/8882, Total Step 36460, loss 0.00586, detection recall 0.6477, detection precision 0.8889, correction recall 0.9738, correction precision 0.9850\n",
      "Epoch 4, Step 952/8882, Total Step 36480, loss 0.00542, detection recall 0.6378, detection precision 0.8858, correction recall 0.9756, correction precision 0.9865\n",
      "Epoch 4, Step 972/8882, Total Step 36500, loss 0.00540, detection recall 0.6544, detection precision 0.8824, correction recall 0.9839, correction precision 0.9908\n",
      "Epoch 4, Step 992/8882, Total Step 36520, loss 0.00628, detection recall 0.6807, detection precision 0.9043, correction recall 0.9645, correction precision 0.9886\n",
      "Epoch 4, Step 1012/8882, Total Step 36540, loss 0.00602, detection recall 0.6582, detection precision 0.8838, correction recall 0.9734, correction precision 0.9865\n",
      "Epoch 4, Step 1032/8882, Total Step 36560, loss 0.00565, detection recall 0.6730, detection precision 0.9024, correction recall 0.9686, correction precision 0.9807\n",
      "Epoch 4, Step 1052/8882, Total Step 36580, loss 0.00668, detection recall 0.6466, detection precision 0.8683, correction recall 0.9731, correction precision 0.9890\n",
      "Epoch 4, Step 1072/8882, Total Step 36600, loss 0.00586, detection recall 0.6434, detection precision 0.8569, correction recall 0.9749, correction precision 0.9816\n",
      "Epoch 4, Step 1092/8882, Total Step 36620, loss 0.00701, detection recall 0.6239, detection precision 0.8770, correction recall 0.9693, correction precision 0.9805\n",
      "Epoch 4, Step 1112/8882, Total Step 36640, loss 0.00628, detection recall 0.6520, detection precision 0.8809, correction recall 0.9706, correction precision 0.9908\n",
      "Epoch 4, Step 1132/8882, Total Step 36660, loss 0.00603, detection recall 0.6425, detection precision 0.8547, correction recall 0.9724, correction precision 0.9826\n",
      "Epoch 4, Step 1152/8882, Total Step 36680, loss 0.00629, detection recall 0.6594, detection precision 0.8918, correction recall 0.9703, correction precision 0.9804\n",
      "Epoch 4, Step 1172/8882, Total Step 36700, loss 0.00616, detection recall 0.6486, detection precision 0.8838, correction recall 0.9677, correction precision 0.9836\n",
      "Epoch 4, Step 1192/8882, Total Step 36720, loss 0.00687, detection recall 0.6570, detection precision 0.8698, correction recall 0.9687, correction precision 0.9875\n",
      "Epoch 4, Step 1212/8882, Total Step 36740, loss 0.00677, detection recall 0.6432, detection precision 0.8595, correction recall 0.9642, correction precision 0.9863\n",
      "Epoch 4, Step 1232/8882, Total Step 36760, loss 0.00499, detection recall 0.6579, detection precision 0.8967, correction recall 0.9828, correction precision 0.9942\n",
      "Epoch 4, Step 1252/8882, Total Step 36780, loss 0.00562, detection recall 0.6633, detection precision 0.9059, correction recall 0.9706, correction precision 0.9828\n",
      "Epoch 4, Step 1272/8882, Total Step 36800, loss 0.00658, detection recall 0.6954, detection precision 0.8746, correction recall 0.9686, correction precision 0.9886\n",
      "Epoch 4, Step 1292/8882, Total Step 36820, loss 0.00607, detection recall 0.6504, detection precision 0.8909, correction recall 0.9679, correction precision 0.9777\n",
      "Epoch 4, Step 1312/8882, Total Step 36840, loss 0.00729, detection recall 0.6270, detection precision 0.8614, correction recall 0.9615, correction precision 0.9860\n",
      "Epoch 4, Step 1332/8882, Total Step 36860, loss 0.00588, detection recall 0.6584, detection precision 0.8913, correction recall 0.9762, correction precision 0.9840\n",
      "Epoch 4, Step 1352/8882, Total Step 36880, loss 0.00571, detection recall 0.6768, detection precision 0.8639, correction recall 0.9728, correction precision 0.9857\n",
      "Epoch 4, Step 1372/8882, Total Step 36900, loss 0.00571, detection recall 0.6361, detection precision 0.8819, correction recall 0.9746, correction precision 0.9888\n",
      "Epoch 4, Step 1392/8882, Total Step 36920, loss 0.00674, detection recall 0.6398, detection precision 0.8701, correction recall 0.9712, correction precision 0.9746\n",
      "Epoch 4, Step 1412/8882, Total Step 36940, loss 0.00656, detection recall 0.6548, detection precision 0.8785, correction recall 0.9679, correction precision 0.9825\n",
      "Epoch 4, Step 1432/8882, Total Step 36960, loss 0.00578, detection recall 0.6626, detection precision 0.8867, correction recall 0.9688, correction precision 0.9797\n",
      "Epoch 4, Step 1452/8882, Total Step 36980, loss 0.00648, detection recall 0.6566, detection precision 0.8804, correction recall 0.9654, correction precision 0.9863\n",
      "Epoch 4, Step 1472/8882, Total Step 37000, loss 0.00650, detection recall 0.6495, detection precision 0.8840, correction recall 0.9705, correction precision 0.9819\n",
      "Epoch 4, Step 1492/8882, Total Step 37020, loss 0.00602, detection recall 0.6395, detection precision 0.8761, correction recall 0.9779, correction precision 0.9856\n",
      "Epoch 4, Step 1512/8882, Total Step 37040, loss 0.00655, detection recall 0.6574, detection precision 0.8756, correction recall 0.9711, correction precision 0.9853\n",
      "Epoch 4, Step 1532/8882, Total Step 37060, loss 0.00595, detection recall 0.6483, detection precision 0.8763, correction recall 0.9779, correction precision 0.9867\n",
      "Epoch 4, Step 1552/8882, Total Step 37080, loss 0.00573, detection recall 0.6990, detection precision 0.8807, correction recall 0.9749, correction precision 0.9839\n",
      "Epoch 4, Step 1572/8882, Total Step 37100, loss 0.00548, detection recall 0.6751, detection precision 0.8879, correction recall 0.9735, correction precision 0.9848\n",
      "Epoch 4, Step 1592/8882, Total Step 37120, loss 0.00547, detection recall 0.6883, detection precision 0.8967, correction recall 0.9832, correction precision 0.9910\n",
      "Epoch 4, Step 1612/8882, Total Step 37140, loss 0.00625, detection recall 0.6168, detection precision 0.8912, correction recall 0.9749, correction precision 0.9857\n",
      "Epoch 4, Step 1632/8882, Total Step 37160, loss 0.00611, detection recall 0.6752, detection precision 0.9043, correction recall 0.9699, correction precision 0.9830\n",
      "Epoch 4, Step 1652/8882, Total Step 37180, loss 0.00593, detection recall 0.6619, detection precision 0.8706, correction recall 0.9790, correction precision 0.9823\n",
      "Epoch 4, Step 1672/8882, Total Step 37200, loss 0.00607, detection recall 0.6667, detection precision 0.8693, correction recall 0.9662, correction precision 0.9900\n",
      "Epoch 4, Step 1692/8882, Total Step 37220, loss 0.00676, detection recall 0.6592, detection precision 0.8886, correction recall 0.9754, correction precision 0.9732\n",
      "Epoch 4, Step 1712/8882, Total Step 37240, loss 0.00628, detection recall 0.6404, detection precision 0.8526, correction recall 0.9703, correction precision 0.9872\n",
      "Epoch 4, Step 1732/8882, Total Step 37260, loss 0.00581, detection recall 0.6324, detection precision 0.9042, correction recall 0.9751, correction precision 0.9901\n",
      "Epoch 4, Step 1752/8882, Total Step 37280, loss 0.00708, detection recall 0.6417, detection precision 0.8953, correction recall 0.9608, correction precision 0.9739\n",
      "Epoch 4, Step 1772/8882, Total Step 37300, loss 0.00559, detection recall 0.6983, detection precision 0.8815, correction recall 0.9765, correction precision 0.9865\n",
      "Epoch 4, Step 1792/8882, Total Step 37320, loss 0.00640, detection recall 0.6443, detection precision 0.8825, correction recall 0.9629, correction precision 0.9846\n",
      "Epoch 4, Step 1812/8882, Total Step 37340, loss 0.00590, detection recall 0.6813, detection precision 0.8936, correction recall 0.9730, correction precision 0.9863\n",
      "Epoch 4, Step 1832/8882, Total Step 37360, loss 0.00679, detection recall 0.6455, detection precision 0.8746, correction recall 0.9688, correction precision 0.9764\n",
      "Epoch 4, Step 1852/8882, Total Step 37380, loss 0.00672, detection recall 0.6785, detection precision 0.8785, correction recall 0.9687, correction precision 0.9814\n",
      "Epoch 4, Step 1872/8882, Total Step 37400, loss 0.00643, detection recall 0.6249, detection precision 0.8760, correction recall 0.9686, correction precision 0.9763\n",
      "Epoch 4, Step 1892/8882, Total Step 37420, loss 0.00573, detection recall 0.6489, detection precision 0.8567, correction recall 0.9701, correction precision 0.9876\n",
      "Epoch 4, Step 1912/8882, Total Step 37440, loss 0.00639, detection recall 0.6441, detection precision 0.8752, correction recall 0.9679, correction precision 0.9780\n",
      "Epoch 4, Step 1932/8882, Total Step 37460, loss 0.00619, detection recall 0.6441, detection precision 0.8711, correction recall 0.9745, correction precision 0.9876\n",
      "Epoch 4, Step 1952/8882, Total Step 37480, loss 0.00625, detection recall 0.6976, detection precision 0.8977, correction recall 0.9680, correction precision 0.9865\n",
      "Epoch 4, Step 1972/8882, Total Step 37500, loss 0.00598, detection recall 0.6401, detection precision 0.8936, correction recall 0.9765, correction precision 0.9831\n",
      "Epoch 4, Step 1992/8882, Total Step 37520, loss 0.00687, detection recall 0.6289, detection precision 0.8644, correction recall 0.9619, correction precision 0.9862\n",
      "Epoch 4, Step 2012/8882, Total Step 37540, loss 0.00594, detection recall 0.6752, detection precision 0.8979, correction recall 0.9800, correction precision 0.9888\n",
      "Epoch 4, Step 2032/8882, Total Step 37560, loss 0.00637, detection recall 0.6619, detection precision 0.8728, correction recall 0.9723, correction precision 0.9898\n",
      "Epoch 4, Step 2052/8882, Total Step 37580, loss 0.00535, detection recall 0.6784, detection precision 0.9185, correction recall 0.9659, correction precision 0.9815\n",
      "Epoch 4, Step 2072/8882, Total Step 37600, loss 0.00637, detection recall 0.6615, detection precision 0.8697, correction recall 0.9699, correction precision 0.9842\n",
      "Epoch 4, Step 2092/8882, Total Step 37620, loss 0.00656, detection recall 0.6688, detection precision 0.8902, correction recall 0.9642, correction precision 0.9780\n",
      "Epoch 4, Step 2112/8882, Total Step 37640, loss 0.00530, detection recall 0.6571, detection precision 0.8613, correction recall 0.9835, correction precision 0.9878\n",
      "Epoch 4, Step 2132/8882, Total Step 37660, loss 0.00653, detection recall 0.6393, detection precision 0.8636, correction recall 0.9711, correction precision 0.9831\n",
      "Epoch 4, Step 2152/8882, Total Step 37680, loss 0.00645, detection recall 0.6411, detection precision 0.8693, correction recall 0.9675, correction precision 0.9846\n",
      "Epoch 4, Step 2172/8882, Total Step 37700, loss 0.00662, detection recall 0.6641, detection precision 0.8894, correction recall 0.9685, correction precision 0.9802\n",
      "Epoch 4, Step 2192/8882, Total Step 37720, loss 0.00616, detection recall 0.6779, detection precision 0.8925, correction recall 0.9720, correction precision 0.9920\n",
      "Epoch 4, Step 2212/8882, Total Step 37740, loss 0.00515, detection recall 0.6419, detection precision 0.8921, correction recall 0.9871, correction precision 0.9903\n",
      "Epoch 4, Step 2232/8882, Total Step 37760, loss 0.00696, detection recall 0.6581, detection precision 0.8854, correction recall 0.9608, correction precision 0.9851\n",
      "Epoch 4, Step 2252/8882, Total Step 37780, loss 0.00580, detection recall 0.6600, detection precision 0.8922, correction recall 0.9734, correction precision 0.9876\n",
      "Epoch 4, Step 2272/8882, Total Step 37800, loss 0.00600, detection recall 0.6716, detection precision 0.9045, correction recall 0.9737, correction precision 0.9827\n",
      "Epoch 4, Step 2292/8882, Total Step 37820, loss 0.00632, detection recall 0.6749, detection precision 0.8616, correction recall 0.9732, correction precision 0.9864\n",
      "Epoch 4, Step 2312/8882, Total Step 37840, loss 0.00675, detection recall 0.6401, detection precision 0.8484, correction recall 0.9652, correction precision 0.9818\n",
      "Epoch 4, Step 2332/8882, Total Step 37860, loss 0.00603, detection recall 0.6374, detection precision 0.8998, correction recall 0.9685, correction precision 0.9817\n",
      "Epoch 4, Step 2352/8882, Total Step 37880, loss 0.00678, detection recall 0.6549, detection precision 0.8473, correction recall 0.9659, correction precision 0.9850\n",
      "Epoch 4, Step 2372/8882, Total Step 37900, loss 0.00529, detection recall 0.6478, detection precision 0.8757, correction recall 0.9801, correction precision 0.9922\n",
      "Epoch 4, Step 2392/8882, Total Step 37920, loss 0.00660, detection recall 0.6472, detection precision 0.8632, correction recall 0.9735, correction precision 0.9866\n",
      "Epoch 4, Step 2412/8882, Total Step 37940, loss 0.00608, detection recall 0.6410, detection precision 0.8912, correction recall 0.9689, correction precision 0.9825\n",
      "Epoch 4, Step 2432/8882, Total Step 37960, loss 0.00676, detection recall 0.6377, detection precision 0.8980, correction recall 0.9688, correction precision 0.9841\n",
      "Epoch 4, Step 2452/8882, Total Step 37980, loss 0.00664, detection recall 0.6489, detection precision 0.8795, correction recall 0.9733, correction precision 0.9799\n",
      "Epoch 4, Step 2472/8882, Total Step 38000, loss 0.00555, detection recall 0.6597, detection precision 0.8703, correction recall 0.9779, correction precision 0.9888\n",
      "Epoch 4, Step 2492/8882, Total Step 38020, loss 0.00537, detection recall 0.6485, detection precision 0.8627, correction recall 0.9751, correction precision 0.9885\n",
      "Epoch 4, Step 2512/8882, Total Step 38040, loss 0.00694, detection recall 0.6364, detection precision 0.8501, correction recall 0.9663, correction precision 0.9818\n",
      "Epoch 4, Step 2532/8882, Total Step 38060, loss 0.00721, detection recall 0.6663, detection precision 0.8945, correction recall 0.9613, correction precision 0.9837\n",
      "Epoch 4, Step 2552/8882, Total Step 38080, loss 0.00642, detection recall 0.6784, detection precision 0.8937, correction recall 0.9716, correction precision 0.9828\n",
      "Epoch 4, Step 2572/8882, Total Step 38100, loss 0.00632, detection recall 0.6394, detection precision 0.8827, correction recall 0.9739, correction precision 0.9900\n",
      "Epoch 4, Step 2592/8882, Total Step 38120, loss 0.00589, detection recall 0.6615, detection precision 0.8936, correction recall 0.9756, correction precision 0.9888\n",
      "Epoch 4, Step 2612/8882, Total Step 38140, loss 0.00695, detection recall 0.6513, detection precision 0.9055, correction recall 0.9638, correction precision 0.9854\n",
      "Epoch 4, Step 2632/8882, Total Step 38160, loss 0.00746, detection recall 0.6626, detection precision 0.8900, correction recall 0.9657, correction precision 0.9809\n",
      "Epoch 4, Step 2652/8882, Total Step 38180, loss 0.00653, detection recall 0.6478, detection precision 0.8730, correction recall 0.9700, correction precision 0.9869\n",
      "Epoch 4, Step 2672/8882, Total Step 38200, loss 0.00739, detection recall 0.6454, detection precision 0.9030, correction recall 0.9653, correction precision 0.9829\n",
      "Epoch 4, Step 2692/8882, Total Step 38220, loss 0.00570, detection recall 0.6570, detection precision 0.9000, correction recall 0.9757, correction precision 0.9859\n",
      "Epoch 4, Step 2712/8882, Total Step 38240, loss 0.00682, detection recall 0.6575, detection precision 0.8728, correction recall 0.9703, correction precision 0.9866\n",
      "Epoch 4, Step 2732/8882, Total Step 38260, loss 0.00672, detection recall 0.6551, detection precision 0.8810, correction recall 0.9642, correction precision 0.9795\n",
      "Epoch 4, Step 2752/8882, Total Step 38280, loss 0.00728, detection recall 0.6618, detection precision 0.8782, correction recall 0.9698, correction precision 0.9796\n",
      "Epoch 4, Step 2772/8882, Total Step 38300, loss 0.00612, detection recall 0.6586, detection precision 0.8699, correction recall 0.9770, correction precision 0.9846\n",
      "Epoch 4, Step 2792/8882, Total Step 38320, loss 0.00681, detection recall 0.6586, detection precision 0.8850, correction recall 0.9704, correction precision 0.9822\n",
      "Epoch 4, Step 2812/8882, Total Step 38340, loss 0.00683, detection recall 0.6385, detection precision 0.8767, correction recall 0.9697, correction precision 0.9857\n",
      "Epoch 4, Step 2832/8882, Total Step 38360, loss 0.00649, detection recall 0.6398, detection precision 0.8760, correction recall 0.9676, correction precision 0.9807\n",
      "Epoch 4, Step 2852/8882, Total Step 38380, loss 0.00699, detection recall 0.6363, detection precision 0.8882, correction recall 0.9611, correction precision 0.9774\n",
      "Epoch 4, Step 2872/8882, Total Step 38400, loss 0.00623, detection recall 0.6596, detection precision 0.8921, correction recall 0.9667, correction precision 0.9842\n",
      "Epoch 4, Step 2892/8882, Total Step 38420, loss 0.00620, detection recall 0.6499, detection precision 0.8906, correction recall 0.9601, correction precision 0.9871\n",
      "Epoch 4, Step 2912/8882, Total Step 38440, loss 0.00671, detection recall 0.6511, detection precision 0.8908, correction recall 0.9647, correction precision 0.9792\n",
      "Epoch 4, Step 2932/8882, Total Step 38460, loss 0.00677, detection recall 0.6719, detection precision 0.9124, correction recall 0.9677, correction precision 0.9864\n",
      "Epoch 4, Step 2952/8882, Total Step 38480, loss 0.00662, detection recall 0.6330, detection precision 0.8807, correction recall 0.9707, correction precision 0.9911\n",
      "Epoch 4, Step 2972/8882, Total Step 38500, loss 0.00591, detection recall 0.6760, detection precision 0.8794, correction recall 0.9777, correction precision 0.9843\n",
      "Epoch 4, Step 2992/8882, Total Step 38520, loss 0.00648, detection recall 0.6807, detection precision 0.8986, correction recall 0.9643, correction precision 0.9845\n",
      "Epoch 4, Step 3012/8882, Total Step 38540, loss 0.00634, detection recall 0.6333, detection precision 0.8819, correction recall 0.9714, correction precision 0.9866\n",
      "Epoch 4, Step 3032/8882, Total Step 38560, loss 0.00698, detection recall 0.6369, detection precision 0.8703, correction recall 0.9680, correction precision 0.9777\n",
      "Epoch 4, Step 3052/8882, Total Step 38580, loss 0.00693, detection recall 0.6548, detection precision 0.8964, correction recall 0.9656, correction precision 0.9802\n",
      "Epoch 4, Step 3072/8882, Total Step 38600, loss 0.00569, detection recall 0.6612, detection precision 0.8917, correction recall 0.9718, correction precision 0.9911\n",
      "Epoch 4, Step 3092/8882, Total Step 38620, loss 0.00809, detection recall 0.6383, detection precision 0.9022, correction recall 0.9603, correction precision 0.9747\n",
      "Epoch 4, Step 3112/8882, Total Step 38640, loss 0.00625, detection recall 0.6754, detection precision 0.8575, correction recall 0.9717, correction precision 0.9900\n",
      "Epoch 4, Step 3132/8882, Total Step 38660, loss 0.00617, detection recall 0.6565, detection precision 0.8780, correction recall 0.9651, correction precision 0.9908\n",
      "Epoch 4, Step 3152/8882, Total Step 38680, loss 0.00644, detection recall 0.6583, detection precision 0.8906, correction recall 0.9681, correction precision 0.9815\n",
      "Epoch 4, Step 3172/8882, Total Step 38700, loss 0.00711, detection recall 0.6741, detection precision 0.8707, correction recall 0.9644, correction precision 0.9775\n",
      "Epoch 4, Step 3192/8882, Total Step 38720, loss 0.00618, detection recall 0.6487, detection precision 0.9064, correction recall 0.9704, correction precision 0.9888\n",
      "Epoch 4, Step 3212/8882, Total Step 38740, loss 0.00553, detection recall 0.6636, detection precision 0.8765, correction recall 0.9778, correction precision 0.9835\n",
      "Epoch 4, Step 3232/8882, Total Step 38760, loss 0.00620, detection recall 0.6565, detection precision 0.8737, correction recall 0.9650, correction precision 0.9760\n",
      "Epoch 4, Step 3252/8882, Total Step 38780, loss 0.00665, detection recall 0.6419, detection precision 0.8458, correction recall 0.9699, correction precision 0.9801\n",
      "Epoch 4, Step 3272/8882, Total Step 38800, loss 0.00531, detection recall 0.6517, detection precision 0.8978, correction recall 0.9831, correction precision 0.9898\n",
      "Epoch 4, Step 3292/8882, Total Step 38820, loss 0.00651, detection recall 0.6736, detection precision 0.8817, correction recall 0.9680, correction precision 0.9832\n",
      "Epoch 4, Step 3312/8882, Total Step 38840, loss 0.00621, detection recall 0.6681, detection precision 0.8809, correction recall 0.9684, correction precision 0.9823\n",
      "Epoch 4, Step 3332/8882, Total Step 38860, loss 0.00645, detection recall 0.6561, detection precision 0.8845, correction recall 0.9696, correction precision 0.9784\n",
      "Epoch 4, Step 3352/8882, Total Step 38880, loss 0.00571, detection recall 0.6337, detection precision 0.8612, correction recall 0.9756, correction precision 0.9888\n",
      "Epoch 4, Step 3372/8882, Total Step 38900, loss 0.00634, detection recall 0.6484, detection precision 0.8935, correction recall 0.9709, correction precision 0.9863\n",
      "Epoch 4, Step 3392/8882, Total Step 38920, loss 0.00726, detection recall 0.6274, detection precision 0.8817, correction recall 0.9675, correction precision 0.9829\n",
      "Epoch 4, Step 3412/8882, Total Step 38940, loss 0.00660, detection recall 0.6236, detection precision 0.8777, correction recall 0.9666, correction precision 0.9886\n",
      "Epoch 4, Step 3432/8882, Total Step 38960, loss 0.00633, detection recall 0.6482, detection precision 0.8652, correction recall 0.9667, correction precision 0.9864\n",
      "Epoch 4, Step 3452/8882, Total Step 38980, loss 0.00621, detection recall 0.6712, detection precision 0.9155, correction recall 0.9685, correction precision 0.9795\n",
      "Epoch 4, Step 3472/8882, Total Step 39000, loss 0.00567, detection recall 0.6626, detection precision 0.8767, correction recall 0.9689, correction precision 0.9853\n",
      "Epoch 4, Step 3492/8882, Total Step 39020, loss 0.00586, detection recall 0.6802, detection precision 0.8818, correction recall 0.9725, correction precision 0.9812\n",
      "Epoch 4, Step 3512/8882, Total Step 39040, loss 0.00644, detection recall 0.6583, detection precision 0.8975, correction recall 0.9704, correction precision 0.9884\n"
     ]
    }
   ],
   "source": [
    "total_loss = 0.  # 记录loss\n",
    "\n",
    "d_recall_numerator = 0  # Detection的Recall的分子\n",
    "d_recall_denominator = 0  # Detection的Recall的分母\n",
    "d_precision_numerator = 0  # Detection的precision的分子\n",
    "d_precision_denominator = 0  # Detection的precision的分母\n",
    "c_recall_numerator = 0  # Correction的Recall的分子\n",
    "c_recall_denominator = 0  # Correction的Recall的分母\n",
    "c_precision_numerator = 0  # Correction的precision的分子\n",
    "c_precision_denominator = 0  # Correction的precision的分母\n",
    "\n",
    "for epoch in range(start_epoch, epochs):\n",
    "\n",
    "    step = 0\n",
    "\n",
    "    for sequences, correction_targets, detection_targets, correction_inputs in train_loader:\n",
    "        correction_targets, detection_targets = correction_targets.to(device), detection_targets.to(device)\n",
    "        correction_inputs = correction_inputs.to(device)\n",
    "        correction_outputs, detection_outputs = model(sequences)\n",
    "        loss = criterion(correction_outputs, correction_targets, detection_outputs, detection_targets)\n",
    "        loss.backward()\n",
    "        optimizer.step()\n",
    "        optimizer.zero_grad()\n",
    "\n",
    "        step += 1\n",
    "        total_step += 1\n",
    "\n",
    "        total_loss += loss.detach().item()\n",
    "\n",
    "        # 计算Detection的recall和precision指标\n",
    "        # 大于0.5，认为是错误token，反之为正确token\n",
    "        d_predicts = detection_outputs >= 0.5\n",
    "        # 计算错误token中被网络正确预测到的数量\n",
    "        d_recall_numerator += d_predicts[detection_targets == 1].sum().item()\n",
    "        # 计算错误token的数量\n",
    "        d_recall_denominator += (detection_targets == 1).sum().item()\n",
    "        # 计算网络预测的错误token的数量\n",
    "        d_precision_denominator += d_predicts.sum().item()\n",
    "        # 计算网络预测的错误token中，有多少是真错误的token\n",
    "        d_precision_numerator += (detection_targets[d_predicts == 1]).sum().item()\n",
    "\n",
    "        # 计算Correction的recall和precision\n",
    "        # 将输出映射成index，即将correction_outputs的Shape由(32, 128, 21128)变为(32,128)\n",
    "        correction_outputs = correction_outputs.argmax(2)\n",
    "        # 对于填充、[CLS]和[SEP]这三个token不校验\n",
    "        correction_outputs[(correction_targets == 0) | (correction_targets == 101) | (correction_targets == 102)] = 0\n",
    "        # correction_targets的[CLS]和[SEP]也要变为0\n",
    "        correction_targets[(correction_targets == 101) | (correction_targets == 102)] = 0\n",
    "        # Correction的预测结果，其中True表示预测正确，False表示预测错误或无需预测\n",
    "        c_predicts = correction_outputs == correction_targets\n",
    "        # 计算错误token中被网络正确纠正的token数量\n",
    "        c_recall_numerator += c_predicts[detection_targets == 1].sum().item()\n",
    "        # 计算错误token的数量\n",
    "        c_recall_denominator += (detection_targets == 1).sum().item()\n",
    "        # 计算网络纠正token的数量\n",
    "        correction_inputs[(correction_inputs == 101) | (correction_inputs == 102)] = 0\n",
    "        c_precision_denominator += (correction_outputs != correction_inputs).sum().item()\n",
    "        # 计算在网络纠正的这些token中，有多少是真正被纠正对的\n",
    "        c_precision_numerator += c_predicts[correction_outputs != correction_inputs].sum().item()\n",
    "\n",
    "        if total_step % log_after_step == 0:\n",
    "            loss = total_loss / log_after_step\n",
    "            d_recall = d_recall_numerator / (d_recall_denominator + 1e-9)\n",
    "            d_precision = d_precision_numerator / (d_precision_denominator + 1e-9)\n",
    "            c_recall = c_recall_numerator / (c_recall_denominator + 1e-9)\n",
    "            c_precision = c_precision_numerator / (c_precision_denominator + 1e-9)\n",
    "\n",
    "            print(\"Epoch {}, \"\n",
    "                  \"Step {}/{}, \"\n",
    "                  \"Total Step {}, \"\n",
    "                  \"loss {:.5f}, \"\n",
    "                  \"detection recall {:.4f}, \"\n",
    "                  \"detection precision {:.4f}, \"\n",
    "                  \"correction recall {:.4f}, \"\n",
    "                  \"correction precision {:.4f}\".format(epoch, step, len(train_loader), total_step,\n",
    "                                                       loss,\n",
    "                                                       d_recall,\n",
    "                                                       d_precision,\n",
    "                                                       c_recall,\n",
    "                                                       c_precision))\n",
    "\n",
    "            total_loss = 0.\n",
    "            total_correct = 0\n",
    "            total_num = 0\n",
    "            d_recall_numerator = 0\n",
    "            d_recall_denominator = 0\n",
    "            d_precision_numerator = 0\n",
    "            d_precision_denominator = 0\n",
    "            c_recall_numerator = 0\n",
    "            c_recall_denominator = 0\n",
    "            c_precision_numerator = 0\n",
    "            c_precision_denominator = 0\n",
    "\n",
    "    torch.save({\n",
    "        'model': model.state_dict(),\n",
    "        'optimizer': optimizer.state_dict(),\n",
    "        'epoch': epoch + 1,\n",
    "        'total_step': total_step,\n",
    "    }, model_path + 'epoch-{}.pt'.format(epoch+1))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 模型评估"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "模型评估使用了SIGHAN 2013,2014,2015三个数据集对模型进行评估。对于Detection的Precision和Recall的评估，使用的是Correction Network的结果，这和训练阶段有所不同，这是因为Detection Network只是帮助Correction Network训练的，其结果在使用时不具备参考价值。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "model = model.eval()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "def evaluation(test_data):\n",
    "    d_recall_numerator = 0  # Detection的Recall的分子\n",
    "    d_recall_denominator = 0  # Detection的Recall的分母\n",
    "    d_precision_numerator = 0  # Detection的precision的分子\n",
    "    d_precision_denominator = 0  # Detection的precision的分母\n",
    "    c_recall_numerator = 0  # Correction的Recall的分子\n",
    "    c_recall_denominator = 0  # Correction的Recall的分母\n",
    "    c_precision_numerator = 0  # Correction的precision的分子\n",
    "    c_precision_denominator = 0  # Correction的precision的分母\n",
    "\n",
    "    prograss = tqdm(range(len(test_data)))\n",
    "    for i in prograss:\n",
    "        src, tgt = test_data[i]['src'], test_data[i]['tgt']\n",
    "\n",
    "        src_tokens = tokenizer(src, return_tensors='pt', max_length=128, truncation=True)['input_ids'][0][1:-1]\n",
    "        tgt_tokens = tokenizer(tgt, return_tensors='pt', max_length=128, truncation=True)['input_ids'][0][1:-1]\n",
    "\n",
    "        # 正常情况下，src和tgt的长度应该是一致的\n",
    "        if len(src_tokens) != len(tgt_tokens):\n",
    "            print(\"第%d条数据异常\" % i)\n",
    "            continue\n",
    "\n",
    "        correction_outputs, _ = model(src)\n",
    "        predict_tokens = correction_outputs[0][1:len(src_tokens) + 1].argmax(1).detach().cpu()\n",
    "\n",
    "        # 计算错误token的数量\n",
    "        d_recall_denominator += (src_tokens != tgt_tokens).sum().item()\n",
    "        # 计算在这些错误token，有多少网络也认为它是错误的\n",
    "        d_recall_numerator += (predict_tokens != src_tokens)[src_tokens != tgt_tokens].sum().item()\n",
    "        # 计算网络找出的错误token的数量\n",
    "        d_precision_denominator += (predict_tokens != src_tokens).sum().item()\n",
    "        # 计算在网络找出的这些错误token中，有多少是真正错误的\n",
    "        d_precision_numerator += (src_tokens != tgt_tokens)[predict_tokens != src_tokens].sum().item()\n",
    "        # 计算Detection的recall、precision和f1-score\n",
    "        d_recall = d_recall_numerator / (d_recall_denominator + 1e-9)\n",
    "        d_precision = d_precision_numerator / (d_precision_denominator + 1e-9)\n",
    "        d_f1_score = 2 * (d_recall * d_precision) / (d_recall + d_precision + 1e-9)\n",
    "\n",
    "        # 计算错误token的数量\n",
    "        c_recall_denominator += (src_tokens != tgt_tokens).sum().item()\n",
    "        # 计算在这些错误token中，有多少网络预测对了\n",
    "        c_recall_numerator += (predict_tokens == tgt_tokens)[src_tokens != tgt_tokens].sum().item()\n",
    "        # 计算网络找出的错误token的数量\n",
    "        c_precision_denominator += (predict_tokens != src_tokens).sum().item()\n",
    "        # 计算网络找出的错误token中，有多少是正确修正的\n",
    "        c_precision_numerator += (predict_tokens == tgt_tokens)[predict_tokens != src_tokens].sum().item()\n",
    "\n",
    "        # 计算Correction的recall、precision和f1-score\n",
    "        c_recall = c_recall_numerator / (c_recall_denominator + 1e-9)\n",
    "        c_precision = c_precision_numerator / (c_precision_denominator + 1e-9)\n",
    "        c_f1_score = 2 * (c_recall * c_precision) / (c_recall + c_precision + 1e-9)\n",
    "\n",
    "        prograss.set_postfix({\n",
    "            'd_recall': d_recall,\n",
    "            'd_precision': d_precision,\n",
    "            'd_f1_score': d_f1_score,\n",
    "            'c_recall': c_recall,\n",
    "            'c_precision': c_precision,\n",
    "            'c_f1_score': c_f1_score,\n",
    "        })"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|██████████| 1000/1000 [00:11<00:00, 90.12it/s, d_recall=0.799, d_precision=0.802, d_f1_score=0.8, c_recall=0.769, c_precision=0.772, c_f1_score=0.771]  \n"
     ]
    }
   ],
   "source": [
    "with open(\"data/test.sighan13.pkl\", mode='br') as f:\n",
    "    sighan13 = pickle.load(f)\n",
    "evaluation(sighan13)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|██████████| 1062/1062 [00:12<00:00, 85.48it/s, d_recall=0.666, d_precision=0.828, d_f1_score=0.738, c_recall=0.643, c_precision=0.799, c_f1_score=0.712]\n"
     ]
    }
   ],
   "source": [
    "with open(\"data/test.sighan14.pkl\", mode='br') as f:\n",
    "    sighan14 = pickle.load(f)\n",
    "evaluation(sighan14)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|██████████| 1100/1100 [00:11<00:00, 92.04it/s, d_recall=0.761, d_precision=0.867, d_f1_score=0.811, c_recall=0.725, c_precision=0.827, c_f1_score=0.773] \n"
     ]
    }
   ],
   "source": [
    "with open(\"data/test.sighan15.pkl\", mode='br') as f:\n",
    "    sighan15 = pickle.load(f)\n",
    "evaluation(sighan15)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 模型使用"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "最后，我们来真正的使用一下该模型，看下效果："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "def predict(text):\n",
    "    sequences = [text]\n",
    "    correction_outputs, _ = model(sequences)\n",
    "    tokens = correction_outputs[0][1:len(text) + 1].argmax(1)\n",
    "    return ''.join(tokenizer.convert_ids_to_tokens(tokens))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'今天早上我吃了一个火聋果'"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "predict(\"今天早上我吃了以个火聋果\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'我是联系时长两年半的个人练习生蔡徐鲲，喜欢唱跳ra##p蓝球[SEP]'"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "predict(\"我是联系时长两年半的个人练习生蔡徐鲲，喜欢唱跳RAP蓝球\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "虽然在数据上模型表现还不错，但在真正使用场景上，效果还是不够好。中文文本纠错果然是一个比较难的任务 T_T !"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "# 参考文献\n",
    "\n",
    "[MDCSpell论文](https://aclanthology.org/2022.findings-acl.98/): https://aclanthology.org/2022.findings-acl.98/\n",
    "\n",
    "[MDCSpell论文笔记](https://blog.csdn.net/zhaohongfei_358/article/details/126973451)：https://blog.csdn.net/zhaohongfei_358/article/details/126973451"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3.8.13 ('py38')",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.13"
  },
  "vscode": {
   "interpreter": {
    "hash": "0f1214495a150f04324bb1774c4c649d2ac4d41dcf6402fd292dc2723527598c"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
